From 0bc7bce916dda6c5df110947f76ce8db715a89cc Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 12 Aug 2017 16:40:09 -0600 Subject: [PATCH] Eliminate warning about an unused global variable. --- examples/nxtext/nxtext_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/nxtext/nxtext_main.c b/examples/nxtext/nxtext_main.c index 82e31a2c2..01cfa76f9 100644 --- a/examples/nxtext/nxtext_main.c +++ b/examples/nxtext/nxtext_main.c @@ -102,7 +102,10 @@ * Private Data ****************************************************************************/ +#ifdef CONFIG_NX_KBD static const uint8_t g_pumsg[] = "Pop-Up!"; +#endif + static const char *g_bgmsg[BGMSG_LINES] = { "\nJULIET\n", /* Line 1 */