diff options
author | David Carlier <[email protected]> | 2019-08-05 06:58:36 +0100 |
---|---|---|
committer | David Carlier <[email protected]> | 2019-08-05 06:58:36 +0100 |
commit | b82b4ecf7f1cbef90ef549d7f7e14de5ea16353d (patch) | |
tree | 9b66ba222dffdb6e30085ef09cf80268453173ba /src/lib/utils | |
parent | 67fddcd63e065eaf8bafbb15f615cbf203a305bd (diff) |
The allocator cb can possibly return null
Diffstat (limited to 'src/lib/utils')
-rw-r--r-- | src/lib/utils/compiler.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/utils/compiler.h b/src/lib/utils/compiler.h index de9f0f3c3..5cf1f1f41 100644 --- a/src/lib/utils/compiler.h +++ b/src/lib/utils/compiler.h @@ -86,8 +86,6 @@ #if defined(__ibmxl__) // XLC pretends to be both Clang and GCC, but is neither #define BOTAN_MALLOC_FN __attribute__ ((malloc)) -#elif defined(__clang__) || (BOTAN_GCC_VERSION >= 500) - #define BOTAN_MALLOC_FN __attribute__ ((malloc, returns_nonnull, alloc_size(1,2))) #elif defined(__GNUC__) #define BOTAN_MALLOC_FN __attribute__ ((malloc, alloc_size(1,2))) #elif defined(_MSC_VER) |