projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
destroy.c
diff --git
a/src/bin/lttng/commands/destroy.c
b/src/bin/lttng/commands/destroy.c
index 398646f2e65183e5ce77d34eaec60dad3d006f3b..78bbbaaad37e25a6e94648236860fe11a60252db 100644
(file)
--- a/
src/bin/lttng/commands/destroy.c
+++ b/
src/bin/lttng/commands/destroy.c
@@
-241,7
+241,7
@@
static int destroy_all_sessions(struct lttng_session *sessions, int count)
int i;
bool error_occurred = false;
int i;
bool error_occurred = false;
-
assert
(count >= 0);
+
LTTNG_ASSERT
(count >= 0);
if (count == 0) {
MSG("No session found, nothing to do.");
}
if (count == 0) {
MSG("No session found, nothing to do.");
}
This page took
0.023116 seconds
and
4
git commands to generate.