mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
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
This commit is contained in:
parent
9544cc0d65
commit
f68220df92
1
src/backend/utils/cache/relcache.c
vendored
1
src/backend/utils/cache/relcache.c
vendored
@ -3954,6 +3954,7 @@ RelationGetIndexAttrBitmap(Relation relation, IndexAttrBitmapKind attrKind)
|
||||
return indexattrs;
|
||||
default:
|
||||
elog(ERROR, "unknown attrKind %u", attrKind);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user