Clean-up: only declare help_msg in embedded help case
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 May 2017 19:49:46 +0000 (15:49 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 May 2017 19:49:46 +0000 (15:49 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/help.c

index 6e80571e3b05f00d1017664f3c21457a9b312e4e..af46296ce515e0ae070610c5184baa6e0148882f 100644 (file)
 #include "../command.h"
 #include <common/utils.h>
 
-static const char *help_msg =
 #ifdef LTTNG_EMBED_HELP
+static const char *help_msg =
 #include <lttng-help.1.h>
-#else
-NULL
-#endif
 ;
+#endif
 
 static const char *lttng_help_msg =
 #ifdef LTTNG_EMBED_HELP
This page took 0.026424 seconds and 4 git commands to generate.