Skip to content

Commit

Permalink
Silence a couple of windows warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
arssher committed Dec 16, 2019
1 parent f463e0e commit fa068e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/include/init.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ simplify_mcxt_name(MemoryContext mcxt)
return PATHMAN_BOUNDS_CACHE;

else elog(ERROR, "unknown memory context");

return NULL; /* keep compiler quiet */
}


Expand Down
1 change: 1 addition & 0 deletions src/partition_router.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ router_extract_ctid(PartitionRouterState *state, TupleTableSlot *slot)
elog(ERROR, UPDATE_NODE_NAME " does not support foreign tables");
else
elog(ERROR, UPDATE_NODE_NAME " cannot handle relkind %u", relkind);
return *(ItemPointer) NULL; /* keep compiler quiet, lol */
}

/* This is a heavily modified copy of ExecDelete from nodeModifyTable.c */
Expand Down

0 comments on commit fa068e7

Please sign in to comment.