projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
93b45bb
)
Make sure that assert() expressions do not have side effects
author
Bart Van Assche
<bart.vanassche@wdc.com>
Fri, 16 Mar 2018 15:44:35 +0000
(08:44 -0700)
committer
Bart Van Assche
<bart.vanassche@wdc.com>
Fri, 16 Mar 2018 19:31:20 +0000
(12:31 -0700)
Assert statements are compiled out if NDEBUG is defined. Hence make sure
that the expressions passed to assert do not have side effects.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
No differences found