From: Jérémie Galarneau Date: Fri, 5 May 2017 19:49:46 +0000 (-0400) Subject: Clean-up: only declare help_msg in embedded help case X-Git-Tag: v2.10.0-rc1~7 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d279f57d9fdfb56bce521780402fca0319ede0fc;p=lttng-tools.git Clean-up: only declare help_msg in embedded help case Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng/commands/help.c b/src/bin/lttng/commands/help.c index 6e80571e3..af46296ce 100644 --- a/src/bin/lttng/commands/help.c +++ b/src/bin/lttng/commands/help.c @@ -25,13 +25,11 @@ #include "../command.h" #include -static const char *help_msg = #ifdef LTTNG_EMBED_HELP +static const char *help_msg = #include -#else -NULL -#endif ; +#endif static const char *lttng_help_msg = #ifdef LTTNG_EMBED_HELP