[PATCH] hex-escape: remove unused variable default_buf_size

Jani Nikula jani at nikula.org
Sat Oct 4 10:53:09 PDT 2014


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 b7e2e07aaa7d..b4a2a02aebd8 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.1.1



More information about the notmuch mailing list