aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jani Nikula <jani@nikula.org>2014-10-04 20:53:09 +0300
committerGravatar David Bremner <david@tethera.net>2014-10-05 07:30:46 +0200
commitad5c017b691227ebba8b8f0bf82a5171904a9145 (patch)
tree356cb43050419301b0cae20a2de70327e0f1d1e1
parentcbbda62258360f035894cff9dfd66c60b0cc707f (diff)
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.
-rw-r--r--util/hex-escape.c2
1 files changed, 0 insertions, 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+-_@=.,";