Fix gcc warning

This commit is contained in:
miloyip 2015-05-28 10:10:38 +08:00
parent 56b205264c
commit 960bc0eabd

View File

@ -159,7 +159,7 @@ private:
template <typename SourceStream>
class DecodedStream {
public:
DecodedStream(SourceStream& ss) : ss_(ss) { Decode(); }
DecodedStream(SourceStream& ss) : ss_(ss), codepoint_() { Decode(); }
unsigned Peek() { return codepoint_; }
unsigned Take() { unsigned c = codepoint_; Decode(); return c; }