summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'librabbitmq/amqp_private.h')
-rw-r--r--librabbitmq/amqp_private.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/librabbitmq/amqp_private.h b/librabbitmq/amqp_private.h
index ec2ba39..61591e5 100644
--- a/librabbitmq/amqp_private.h
+++ b/librabbitmq/amqp_private.h
@@ -255,15 +255,6 @@ extern int amqp_encode_table(amqp_bytes_t encoded,
extern void amqp_abort(const char *fmt, ...);
-#define AMQP_CHECK_RESULT_CLEANUP(expr, stmts) \
- ({ \
- int _result = (expr); \
- if (_result < 0) { stmts; return _result; } \
- _result; \
- })
-
-#define AMQP_CHECK_RESULT(expr) AMQP_CHECK_RESULT_CLEANUP(expr, )
-
#ifndef NDEBUG
extern void amqp_dump(void const *buffer, size_t len);
#else