Skip to content

Commit fa068e7

Browse files
committed
Silence a couple of windows warnings.
1 parent f463e0e commit fa068e7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/include/init.h

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ simplify_mcxt_name(MemoryContext mcxt)
9292
return PATHMAN_BOUNDS_CACHE;
9393

9494
else elog(ERROR, "unknown memory context");
95+
96+
return NULL; /* keep compiler quiet */
9597
}
9698

9799

src/partition_router.c

+1
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ router_extract_ctid(PartitionRouterState *state, TupleTableSlot *slot)
390390
elog(ERROR, UPDATE_NODE_NAME " does not support foreign tables");
391391
else
392392
elog(ERROR, UPDATE_NODE_NAME " cannot handle relkind %u", relkind);
393+
return *(ItemPointer) NULL; /* keep compiler quiet, lol */
393394
}
394395

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

0 commit comments

Comments
 (0)