Skip to content

Commit 7361612

Browse files
committed
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
1 parent 4da597e commit 7361612

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/backend/executor/execTuples.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ static Datum
132132
tts_virtual_getsysattr(TupleTableSlot *slot, int attnum, bool *isnull)
133133
{
134134
elog(ERROR, "virtual tuple table slot does not have system atttributes");
135+
136+
return 0; /* silence compiler warnings */
135137
}
136138

137139
/*
@@ -488,6 +490,8 @@ static Datum
488490
tts_minimal_getsysattr(TupleTableSlot *slot, int attnum, bool *isnull)
489491
{
490492
elog(ERROR, "minimal tuple table slot does not have system atttributes");
493+
494+
return 0; /* silence compiler warnings */
491495
}
492496

493497
static void

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