Remove a noisy LOG(ERROR)
Empty keys are valid input when zero query suggestion is triggered. So
LOG(ERROR) is inappropriate.
BUG=
TEST=
REF_BUG=18131801
REF_CL=106019261
Noriyuki Takahashi
8 years ago
0 | 0 |
MAJOR=2
|
1 | 1 |
MINOR=17
|
2 | |
BUILD=2361
|
|
2 |
BUILD=2362
|
3 | 3 |
REVISION=102
|
4 | 4 |
# NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
|
5 | 5 |
# downloaded by NaCl Mozc.
|
166 | 166 |
for (size_t i = 0; i < segments->conversion_segments_size(); ++i) {
|
167 | 167 |
const string &key = segments->conversion_segment(i).key();
|
168 | 168 |
if (key.empty()) {
|
169 | |
LOG(ERROR) << "Key is empty";
|
|
169 |
// This case happens for zero query suggestion.
|
170 | 170 |
continue;
|
171 | 171 |
}
|
172 | 172 |
bool is_no_learning = false;
|