Index: third_party/cld/encodings/compact_lang_det/getonescriptspan.cc |
diff --git a/third_party/cld/encodings/compact_lang_det/getonescriptspan.cc b/third_party/cld/encodings/compact_lang_det/getonescriptspan.cc |
index 29a3603160bb25556bd8b965f655282332b91c16..e2c8ad343eadf5cfb41b16a41697928673c5c403 100644 |
--- a/third_party/cld/encodings/compact_lang_det/getonescriptspan.cc |
+++ b/third_party/cld/encodings/compact_lang_det/getonescriptspan.cc |
@@ -266,7 +266,7 @@ ScriptScanner::ScriptScanner(const char* buffer, |
bool is_plain_text) |
: start_byte_(buffer), |
next_byte_(buffer), |
- next_byte_limit_(buffer + buffer_length), |
+// next_byte_limit_(buffer + buffer_length), |
byte_length_(buffer_length), |
is_plain_text_(is_plain_text) { |
script_buffer_ = new char[getone::kMaxScriptBuffer]; |