projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbbda62
)
hex-escape: remove unused variable default_buf_size
author
Jani Nikula
<jani@nikula.org>
Sat, 4 Oct 2014 17:53:09 +0000
(20:53 +0300)
committer
David 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
patch
|
blob
|
history
diff --git
a/util/hex-escape.c
b/util/hex-escape.c
index b7e2e07aaa7d8d4e3aa692523ff7c7b6781b8404..b4a2a02aebd825e7d19f19ffb2120690818cb665 100644
(file)
--- 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+-_@=.,";