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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy