X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fassert-pre.h;h=39472a44cba9478967b9afdb0c03901b7b8ea426;hb=5084732e40a7925d22f741e4ed08f19d36078fbe;hp=a470a63b15e86c04feb924dfddbf3ce7189ef340;hpb=cd1ef6f2860c2b6bf3c22ee984347029c31ac827;p=babeltrace.git diff --git a/src/lib/assert-pre.h b/src/lib/assert-pre.h index a470a63b..39472a44 100644 --- a/src/lib/assert-pre.h +++ b/src/lib/assert-pre.h @@ -103,7 +103,7 @@ * is not `NULL`. */ #define BT_ASSERT_PRE_NON_NULL(_obj, _obj_name) \ - BT_ASSERT_PRE((_obj) != NULL, "%s is NULL: ", _obj_name) + BT_ASSERT_PRE((_obj), "%s is NULL: ", _obj_name) /* * Asserts that a given index `_index` is less than a given length