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: c31f1dc)
Add a dummy return statement to TupleQueueRemap.
Mon, 9 Nov 2015 15:45:32 +0000 (10:45 -0500)
Mon, 9 Nov 2015 15:45:32 +0000 (10:45 -0500)
This is unreachable for multiple reasons, but per Amit Kapila the
Windows compiler he is using still thinks we can get there.


diff --git a/src/backend/executor/tqueue.c b/src/backend/executor/tqueue.c
index 7699d98ac6572d286186b9a58588547b9ca858ab..d68666cad908599ebd3bf18e7c30d37019eddd62 100644 (file)
--- a/src/backend/executor/tqueue.c
+++ b/src/backend/executor/tqueue.c
@@ -659,6 +659,7 @@ TupleQueueRemap(TupleQueueReader *reader, RemapClass remapclass, Datum value)
}
elog(ERROR, "unknown remap class: %d", (int) remapclass);
+ return (Datum) 0;
}
/*
This is the main PostgreSQL git repository.
RSS Atom

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