Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 2 additions & 0 deletions
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‎

Lines changed: 1 addition & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /