From ad5c017b691227ebba8b8f0bf82a5171904a9145 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sat, 4 Oct 2014 20:53:09 +0300 Subject: [PATCH] hex-escape: remove unused variable default_buf_size Found by clang: CC -O2 util/hex-escape.o util/hex-escape.c:28:21: warning: unused variable 'default_buf_size' [-Wunused-const-variable] static const size_t default_buf_size = 1024; ^ 1 warning generated. --- util/hex-escape.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/util/hex-escape.c b/util/hex-escape.c index b7e2e07a..b4a2a02a 100644 --- a/util/hex-escape.c +++ b/util/hex-escape.c @@ -25,8 +25,6 @@ #include "error_util.h" #include "hex-escape.h" -static const size_t default_buf_size = 1024; - static const char *output_charset = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-_@=.,"; -- 2.26.2