git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4da597e)
Fix some spurious new compiler warnings in MSVC.
2018年11月17日 19:41:14 +0000 (11:41 -0800)
2018年11月17日 19:41:14 +0000 (11:41 -0800)
Per buildfarm animal bowerbird.

Discussion: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=bowerbird&dt=2018年11月17日%2002%3A30%3A20


diff --git a/src/backend/executor/execTuples.c b/src/backend/executor/execTuples.c
index b6c9bbcd9a654963ae522cee6234c00afdbfbe3e..c9523c503fb5db600cb74f112bf4c1ce073f288b 100644 (file)
--- 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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /