Change return type of ExceptionalCondition to void and mark it noreturn

Peter Eisentraut <peter_e@gmx.net>

Commit: 81107282a5ff1490a0a4ded193cbc61e69cda537
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2012-04-29T18:20:14Z
Releases: 9.2.0
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

PathChange+/−
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