You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-06-20 01:17:49 +02:00
Use FN_NO_RETURN macro consistently in tests.
These cases were either missed in 0dabf88e or added afterwards.
This commit is contained in:
@@ -28,6 +28,6 @@ typedef struct HrnErrorThrowParam
|
||||
#define hrnErrorThrowP(...) \
|
||||
hrnErrorThrow((HrnErrorThrowParam){VAR_PARAM_INIT, __VA_ARGS__})
|
||||
|
||||
void hrnErrorThrow(const HrnErrorThrowParam param) __attribute__((__noreturn__));
|
||||
FN_NO_RETURN void hrnErrorThrow(const HrnErrorThrowParam param);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,7 +21,7 @@ Test protocol server command handlers
|
||||
***********************************************************************************************************************************/
|
||||
#define TEST_PROTOCOL_COMMAND_ASSERT STRID5("assert", 0x2922ce610)
|
||||
|
||||
__attribute__((__noreturn__)) static ProtocolServerResult *
|
||||
FN_NO_RETURN static ProtocolServerResult *
|
||||
testCommandAssertProtocol(PackRead *const param)
|
||||
{
|
||||
FUNCTION_HARNESS_BEGIN();
|
||||
@@ -39,7 +39,7 @@ testCommandAssertProtocol(PackRead *const param)
|
||||
|
||||
static unsigned int testCommandErrorProtocolTotal = 0;
|
||||
|
||||
__attribute__((__noreturn__)) static ProtocolServerResult *
|
||||
FN_NO_RETURN static ProtocolServerResult *
|
||||
testCommandErrorProtocol(PackRead *const param)
|
||||
{
|
||||
FUNCTION_HARNESS_BEGIN();
|
||||
|
||||
Reference in New Issue
Block a user