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

Without this, MacOS gcc version 4.2.1 isn't convinced.
This commit is contained in:
Robert Haas 2015-11-06 23:04:21 -05:00
parent af9773cf4c
commit 8d7396e509
1 changed files with 2 additions and 0 deletions

View File

@ -661,6 +661,8 @@ TupleQueueRemap(TupleQueueReader *reader, RemapClass remapclass, Datum value)
case TQUEUE_REMAP_RECORD:
return TupleQueueRemapRecord(reader, value);
}
elog(ERROR, "unknown remap class: %d", (int) remapclass);
}
/*