Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit f68220df92cb56f0452919f51eeef16262ec8f3b 1 parent 9544cc0
@hlinnaka hlinnaka authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/backend/utils/cache/relcache.c
View
1  src/backend/utils/cache/relcache.c
@@ -3954,6 +3954,7 @@ RelationGetIndexAttrBitmap(Relation relation, IndexAttrBitmapKind attrKind)
return indexattrs;
default:
elog(ERROR, "unknown attrKind %u", attrKind);
+ return NULL;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.