mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04: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:
parent
4da597edf1
commit
73616126b4
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue