diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-12-11 13:29:45 +0100 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-12-11 13:29:45 +0100 |
commit | 609f3d02651381215815eeadb7a10999c2041ffe (patch) | |
tree | 2a1c2d14f75db556bf32e6cb2fe07694e1d199fe /include | |
parent | d5ded820e5b610f330cf23f53c21c169032a725a (diff) | |
download | afl++-609f3d02651381215815eeadb7a10999c2041ffe.tar.gz |
fixed gcc analyzer warnings
Diffstat (limited to 'include')
-rw-r--r-- | include/alloc-inl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/alloc-inl.h b/include/alloc-inl.h index 68255fb6..3044b7a0 100644 --- a/include/alloc-inl.h +++ b/include/alloc-inl.h @@ -94,7 +94,8 @@ static inline void *DFL_ck_alloc_nozero(u32 size) { } -/* Allocate a buffer, returning zeroed memory. */ +/* Allocate a buffer, returning zeroed memory. + Returns null for 0 size */ static inline void *DFL_ck_alloc(u32 size) { |