Content-Length: 255497 | pFad | http://github.com/postgrespro/postgres_cluster/commit/f68220df92cb56f0452919f51eeef16262ec8f3b

35 Silence compiler warning on MSVC. · postgrespro/postgres_cluster@f68220d · GitHub
Skip to content

Commit f68220d

Browse files
committed
Silence compiler warning on MSVC.
MSVC doesn't know that elog(ERROR) doesn't return, and gives a warning about missing return. Silence that. Amit Kapila
1 parent 9544cc0 commit f68220d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/utils/cache/relcache.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3954,6 +3954,7 @@ RelationGetIndexAttrBitmap(Relation relation, IndexAttrBitmapKind attrKind)
39543954
return indexattrs;
39553955
default:
39563956
elog(ERROR, "unknown attrKind %u", attrKind);
3957+
return NULL;
39573958
}
39583959
}
39593960

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/f68220df92cb56f0452919f51eeef16262ec8f3b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy