Change return type of ExceptionalCondition to void and mark it noreturn
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/error/assert.c | modified | +1 −6 |
| src/backend/utils/error/elog.c | modified | +1 −7 |
| src/include/postgres.h | modified | +4 −4 |