about summary refs log tree commit diff
path: root/include/list.h
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-04-19 16:42:40 +0200
committerGitHub <noreply@github.com>2020-04-19 16:42:40 +0200
commit8197e9b2e44158e65fd778149919e7229c7099c1 (patch)
tree23156af7d828baec786cbe97d5e297fd6670b9d9 /include/list.h
parentbaec99079f5bb47b762c4facc0e881a63658a385 (diff)
downloadafl++-8197e9b2e44158e65fd778149919e7229c7099c1.tar.gz
clang-tidy readability-braces (#323)
Diffstat (limited to 'include/list.h')
-rw-r--r--include/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/list.h b/include/list.h
index bb985c4f..88cbe062 100644
--- a/include/list.h
+++ b/include/list.h
@@ -83,7 +83,7 @@ static inline void list_append(list_t *list, void *el) {
   element_t *el_box = NULL;
   PRE_ALLOC(el_box, list->element_prealloc_buf, LIST_PREALLOC_SIZE,
             list->element_prealloc_count);
-  if (!el_box) FATAL("failed to allocate list element");
+  if (!el_box) { FATAL("failed to allocate list element"); }
   el_box->data = el;
   el_box->next = head;
   el_box->prev = head->prev;