diff options
author | Andres Freund | 2018-11-17 19:41:14 +0000 |
---|---|---|
committer | Andres Freund | 2018-11-17 19:41:14 +0000 |
commit | 73616126b4dcd01c833b06d4572959734f38b163 (patch) | |
tree | 249a24a883be12eea5e1ac6bebb87fe759e89c44 | |
parent | 4da597edf1bae0cf0453b5ed6fc4347b6334dfe1 (diff) |
Fix some spurious new compiler warnings in MSVC.
Per buildfarm animal bowerbird.
Discussion: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=bowerbird&dt=2018-11-17%2002%3A30%3A20
-rw-r--r-- | src/backend/executor/execTuples.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/backend/executor/execTuples.c b/src/backend/executor/execTuples.c index b6c9bbcd9a..c9523c503f 100644 --- a/src/backend/executor/execTuples.c +++ b/src/backend/executor/execTuples.c @@ -132,6 +132,8 @@ static Datum tts_virtual_getsysattr(TupleTableSlot *slot, int attnum, bool *isnull) { elog(ERROR, "virtual tuple table slot does not have system atttributes"); + + return 0; /* silence compiler warnings */ } /* @@ -488,6 +490,8 @@ static Datum tts_minimal_getsysattr(TupleTableSlot *slot, int attnum, bool *isnull) { elog(ERROR, "minimal tuple table slot does not have system atttributes"); + + return 0; /* silence compiler warnings */ } static void |