diff options
Diffstat (limited to 'decoder/ff_lm.cc')
-rw-r--r-- | decoder/ff_lm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ff_lm.cc b/decoder/ff_lm.cc index bc51076f..0780b266 100644 --- a/decoder/ff_lm.cc +++ b/decoder/ff_lm.cc @@ -211,7 +211,7 @@ class LanguageModelImpl : public LanguageModelInterface { // may be shorter than actual null-terminated length. context must be null terminated. len is just to save effort for subclasses that don't support contextID virtual int ContextSize(WordID const* context,int len) { - unsigned ret; + unsigned ret = 0; //ngram_.contextID((VocabIndex*)context,ret); return ret; } |