diff options
author | lloyd <[email protected]> | 2011-12-28 18:31:26 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-12-28 18:31:26 +0000 |
commit | 353c24912b7a5e93c8d8572b7410624691d3377d (patch) | |
tree | 986edb2e42188085c28d45d8a449f01c1ac5206a /src/utils | |
parent | 2299fee297f8c3efcc59bd9a9c4ab97d40e39632 (diff) |
Cleaner
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/assert.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utils/assert.h b/src/utils/assert.h index 135c1d392..5ea5002a8 100644 --- a/src/utils/assert.h +++ b/src/utils/assert.h @@ -36,11 +36,10 @@ void assertion_failure(const char* expr_str, __LINE__); \ } while(0) -#define BOTAN_ASSERT_NONNULL(ptr, msg) \ +#define BOTAN_ASSERT_NONNULL(ptr) \ do { \ if(static_cast<bool>(ptr) == false) \ Botan::assertion_failure(#ptr " is not null", \ - msg, \ BOTAN_ASSERT_FUNCTION, \ __FILE__, \ __LINE__); \ |