diff --git a/unittest/recodebeam_test.cc b/unittest/recodebeam_test.cc index b1736e01..e11044b7 100644 --- a/unittest/recodebeam_test.cc +++ b/unittest/recodebeam_test.cc @@ -342,8 +342,8 @@ class RecodeBeamTest : public ::testing::Test { return outputs; } UnicharCompress recoder_; - int unichar_null_char_; - int encoded_null_char_; + int unichar_null_char_ = 0; + int encoded_null_char_ = 0; CCUtil ccutil_; Dict lstm_dict_; };