Skip to content

Commit

Permalink
Remove warnings on some builds (#7680)
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Seleznev <PNSeleznev@sberbank.ru>
  • Loading branch information
SeleznevPavel and Pavel Seleznev authored Dec 3, 2024
1 parent 248ff5d commit fe6d198
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/columnar/columnar_tableam.c
Original file line number Diff line number Diff line change
Expand Up @@ -3021,6 +3021,8 @@ AvailableExtensionVersionColumnar(void)

ereport(ERROR, (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
errmsg("citus extension is not found")));

return NULL; /* keep compiler happy */
}


Expand Down
2 changes: 2 additions & 0 deletions src/backend/distributed/metadata/metadata_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -2522,6 +2522,8 @@ AvailableExtensionVersion(void)

ereport(ERROR, (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
errmsg("citus extension is not found")));

return NULL; /* keep compiler happy */
}


Expand Down
2 changes: 2 additions & 0 deletions src/backend/distributed/planner/insert_select_planner.c
Original file line number Diff line number Diff line change
Expand Up @@ -1810,6 +1810,8 @@ CastExpr(Expr *expr, Oid sourceType, Oid targetType, Oid targetCollation,
ereport(ERROR, (errmsg("could not find a conversion path from type %d to %d",
sourceType, targetType)));
}

return NULL; /* keep compiler happy */
}


Expand Down

0 comments on commit fe6d198

Please sign in to comment.