Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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)