From dcb7b3ce315f95d2a0375523e6fc73ef9ebfb3e5 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 17 Jul 2014 09:44:57 +1000 Subject: [PATCH] silence "Value stored to 'length' is never read" by removing assignment (cherry picked from commit 2e6d7a724ab1d4b3f6d30573d0b4b138cc71e6a4) --- lib/isc/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/print.c b/lib/isc/print.c index b025cfa398..06719e83a5 100644 --- a/lib/isc/print.c +++ b/lib/isc/print.c @@ -117,7 +117,7 @@ isc_print_vsnprintf(char *str, size_t size, const char *format, va_list ap) { dot = neg = space = plus = left = zero = alt = h = l = q = 0; width = precision = 0; head = ""; - length = pad = zeropad = 0; + pad = zeropad = 0; do { if (*format == '#') {