Skip to content
Snippets Groups Projects
Commit 8d7396e5 authored by Robert Haas's avatar Robert Haas
Browse files

Try to convince gcc that TupleQueueRemap never falls off the end.

Without this, MacOS gcc version 4.2.1 isn't convinced.
parent af9773cf
No related branches found
No related tags found
No related merge requests found
...@@ -661,6 +661,8 @@ TupleQueueRemap(TupleQueueReader *reader, RemapClass remapclass, Datum value) ...@@ -661,6 +661,8 @@ TupleQueueRemap(TupleQueueReader *reader, RemapClass remapclass, Datum value)
case TQUEUE_REMAP_RECORD: case TQUEUE_REMAP_RECORD:
return TupleQueueRemapRecord(reader, value); return TupleQueueRemapRecord(reader, value);
} }
elog(ERROR, "unknown remap class: %d", (int) remapclass);
} }
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment