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
/
help.c
diff --git
a/src/bin/lttng/commands/help.c
b/src/bin/lttng/commands/help.c
index 7ef21c2f58008117d5d2a645a890e0819af067e4..a9a01e7f14a65db8084e5b8cdbdaa6c0ad038c8d 100644
(file)
--- a/
src/bin/lttng/commands/help.c
+++ b/
src/bin/lttng/commands/help.c
@@
-10,7
+10,6
@@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <assert.h>
#include "../command.h"
#include <common/utils.h>
#include "../command.h"
#include <common/utils.h>
@@
-112,7
+111,7
@@
int cmd_help(int argc, const char **argv, const struct cmd_struct commands[])
/* Show command's help */
cmd_argv[0] = cmd->name;
cmd_argv[1] = "--help";
/* Show command's help */
cmd_argv[0] = cmd->name;
cmd_argv[1] = "--help";
-
assert
(cmd->func);
+
LTTNG_ASSERT
(cmd->func);
ret = cmd->func(2, cmd_argv);
end:
ret = cmd->func(2, cmd_argv);
end:
This page took
0.022891 seconds
and
4
git commands to generate.