From a9c6d59da312b08b429d9469de0c32f6635c7cc4 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Sat, 2 May 2015 00:37:46 +0200
Subject: [PATCH] Avoid compiler warning because of unused variable.
---
core/net/ip/uip-nameserver.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/core/net/ip/uip-nameserver.c b/core/net/ip/uip-nameserver.c
index 6ced6b91e..3a3933be9 100644
--- a/core/net/ip/uip-nameserver.c
+++ b/core/net/ip/uip-nameserver.c
@@ -57,7 +57,9 @@ typedef struct uip_nameserver_record {
} uip_nameserver_record;
/** \brief Initialization flag */
+#if UIP_NAMESERVER_POOL_SIZE > 1
static uint8_t initialized = 0;
+#endif
/** \name List and memory block
* @{