]> granicus.if.org Git - postgresql/commit
Change return type of ExceptionalCondition to void and mark it noreturn
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 29 Apr 2012 18:07:35 +0000 (21:07 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 29 Apr 2012 18:20:14 +0000 (21:20 +0300)
commit81107282a5ff1490a0a4ded193cbc61e69cda537
treebc39c1a3ff53655183d246fb7a6bd4da011262f0
parent2227bb9c948d2dcc167d414630ed3bae7f31db83
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.
src/backend/utils/error/assert.c
src/backend/utils/error/elog.c
src/include/postgres.h