pgsql: Change return type of ExceptionalCondition to void and mark it n
pgsql: Change return type of ExceptionalCondition to void and mark it n
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Change return type of ExceptionalCondition to void and mark it noreturn In ancient times, it was thought that this wouldn't work because of TrapMacro/AssertMacro, but changing those to use a comma operator appears to work without compiler warnings. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/81107282a5ff1490a0a4ded193cbc61e69cda537 Modified Files -------------- src/backend/utils/error/assert.c | 7 +------ src/backend/utils/error/elog.c | 8 +------- src/include/postgres.h | 8 ++++---- 3 files changed, 6 insertions(+), 17 deletions(-)