1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

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
This commit is contained in:
Andres Freund
2018-11-17 11:41:14 -08:00
parent 4da597edf1
commit 73616126b4

View File

@ -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