hex-escape: remove unused variable default_buf_size
authorJani Nikula <jani@nikula.org>
Sat, 4 Oct 2014 17:53:09 +0000 (20:53 +0300)
committerDavid Bremner <david@tethera.net>
Sun, 5 Oct 2014 05:30:46 +0000 (07:30 +0200)
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

index b7e2e07aaa7d8d4e3aa692523ff7c7b6781b8404..b4a2a02aebd825e7d19f19ffb2120690818cb665 100644 (file)
@@ -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+-_@=.,";