summaryrefslogtreecommitdiff
path: root/decoder/fdict.cc
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-28 07:10:09 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-28 07:10:09 +0000
commit64f43ca5010758b58326d727e359b5908de4fcb0 (patch)
tree3bbc3c68939bc964add941786bb623fae0eb3e72 /decoder/fdict.cc
parent069ef91fd567783961891e5b94f0778a82193218 (diff)
debugging print - still no idea on .05% difference scoring 3gram using phrases
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@446 ec762483-ff6d-05da-a07a-a48fb63a330f
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) ?