From d279f57d9fdfb56bce521780402fca0319ede0fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Fri, 5 May 2017 15:49:46 -0400 Subject: [PATCH] Clean-up: only declare help_msg in embedded help case MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/bin/lttng/commands/help.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 -- 2.34.1