projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Standardize `!ptr` i/o `ptr == NULL`, `ptr` i/o `ptr != NULL`
[babeltrace.git]
/
src
/
ctf-writer
/
assert-pre.h
diff --git
a/src/ctf-writer/assert-pre.h
b/src/ctf-writer/assert-pre.h
index c0a24614c10d90905b6fef7c85b6d77513e401e7..fbff4a7bd3e74974cb4f2ed001846b97cde58951 100644
(file)
--- a/
src/ctf-writer/assert-pre.h
+++ b/
src/ctf-writer/assert-pre.h
@@
-139,7
+139,7
@@
* Developer mode: asserts that a given variable is not NULL.
*/
#define BT_CTF_ASSERT_PRE_NON_NULL(_obj, _obj_name) \
* Developer mode: asserts that a given variable is not NULL.
*/
#define BT_CTF_ASSERT_PRE_NON_NULL(_obj, _obj_name) \
- BT_CTF_ASSERT_PRE((_obj)
!= NULL
, "%s is NULL: ", _obj_name)
+ BT_CTF_ASSERT_PRE((_obj), "%s is NULL: ", _obj_name)
/*
* Developer mode: asserts that a given object is NOT frozen. This macro
/*
* Developer mode: asserts that a given object is NOT frozen. This macro
This page took
0.025715 seconds
and
4
git commands to generate.