From 0798b5ff2083c22235706af6e28bc4e2321307a6 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 29 Nov 2015 15:00:52 -0600 Subject: [PATCH] Remove more warnings --- examples/configdata/configdata_main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/configdata/configdata_main.c b/examples/configdata/configdata_main.c index 91aba2579..95a31ca55 100644 --- a/examples/configdata/configdata_main.c +++ b/examples/configdata/configdata_main.c @@ -134,8 +134,10 @@ static int g_ntests, g_nverified; static int g_ntotalalloc, g_ntotaldelete; static struct mallinfo g_mmbefore; -static struct mallinfo g_mmprevious; static struct mallinfo g_mmafter; +#ifndef CONFIG_EXAMPLES_CONFIGDATA_SILENT +static struct mallinfo g_mmprevious; +#endif /**************************************************************************** * External Functions @@ -273,10 +275,12 @@ static inline uint8_t configdata_randinstance(void) * Name: configdata_freefile ****************************************************************************/ +#if 0 /* Not used */ static void configdata_freeentry(FAR struct configdata_entrydesc_s *entry) { memset(entry, 0, sizeof(struct configdata_entrydesc_s)); } +#endif /**************************************************************************** * Name: configdata_wrentry