summaryrefslogtreecommitdiff
path: root/decoder/fdict.cc
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/fdict.cc')
-rw-r--r--decoder/fdict.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/decoder/fdict.cc b/decoder/fdict.cc
index da80c260..65187685 100644
--- a/decoder/fdict.cc
+++ b/decoder/fdict.cc
@@ -111,7 +111,6 @@ std::string UrlDecodeString(const std::string & encoded) {
}
std::string UrlEncodeString(const std::string & decoded) {
- const char * sz_decoded = decoded.c_str();
size_t needed_length = decoded.length() * 3 + 3;
char stackalloc[64];
char * buf = needed_length > sizeof(stackalloc)/sizeof(*stackalloc) ?