pgsql: Add comment about intentional fallthrough in switch.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Add comment about intentional fallthrough in switch.
Дата
Msg-id E1apT1L-0000HB-MY@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add comment about intentional fallthrough in switch.

Coverity complained about an apparent missing "break" in a switch
added by bb140506df605fab.  The human-readable comments are pretty
clear that this is intentional, but add a standard /* FALL THRU */
comment to make it clear to tools too.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1630f5b92a3a00aff5674f31af1d418628a00ac7

Modified Files
--------------
src/backend/utils/adt/tsginidx.c | 1 +
1 file changed, 1 insertion(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: pg_dump: add missing "destroyPQExpBuffer(query)" in dumpForeignS
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix poorly thought-through code from commit 5c3c3cd0a3046339.