summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSemyon Verchenko <semverchenko@gmail.com>2016-10-05 16:28:20 +0300
committerThomas Thorne <TafThorne@GoogleMail.com>2017-08-08 13:07:18 +0100
commit3485859b0994cacaef3886f24db50fc0ed14d89a (patch)
treee58085a41e5f0ac910c72071e47e150647c2a1ad
parent1c788e8bf481780143c65154f85226d927153472 (diff)
downloaddistcc-git-3485859b0994cacaef3886f24db50fc0ed14d89a.tar.gz
fix compilation error without ENABLE_RFC2553
src/access.c:55:22: error: «allones8» defined but not used [-Werror=unused-const-variable=] static const uint8_t allones8 = 0xffU;
-rw-r--r--src/access.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/access.c b/src/access.c
index c305366..55b7b8a 100644
--- a/src/access.c
+++ b/src/access.c
@@ -52,7 +52,9 @@
*/
static const uint32_t allones = 0xffffffffUL;
+#ifdef ENABLE_RFC2553
static const uint8_t allones8 = 0xffU;
+#endif
/**
* Split a "HOST/BITS" mask specification into HOST and BITS.