diff options
author | chinarulezzz <alexandr.savca89@gmail.com> | 2018-04-22 21:13:46 +0300 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-05-03 04:09:42 +0000 |
commit | ec0f8e6c36f16ca0f7eeb712f823f857468ff6d9 (patch) | |
tree | 0128e3fc77ea7f97c6100bdf242f9eac98491214 /wsutil | |
parent | 22fc5fb86502cbd42c92948eab542e551b963fd5 (diff) |
fix missing parentheses in 'if' statement
Change-Id: I47f8566c4410d6aac1111b35fff3b044c14bc70b
Reviewed-on: https://code.wireshark.org/review/27079
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/buffer.c b/wsutil/buffer.c index 86b6ef1e78..bbe0ed11d2 100644 --- a/wsutil/buffer.c +++ b/wsutil/buffer.c @@ -21,7 +21,7 @@ void ws_buffer_init(Buffer* buffer, gsize space) { g_assert(buffer); - if G_UNLIKELY(!small_buffers) small_buffers = g_ptr_array_sized_new(1024); + if (G_UNLIKELY(!small_buffers)) small_buffers = g_ptr_array_sized_new(1024); if (space <= SMALL_BUFFER_SIZE) { if (small_buffers->len > 0) { |