Another warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36387 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-11-18 22:02:46 +00:00
parent 60da156ffd
commit b9e83e76ca

View File

@ -107,7 +107,7 @@ WriteStream & operator<<(WriteStream & ws, docstring const & s)
}
ws.os() << s.substr(first);
int lf = 0;
char_type lastchar;
char_type lastchar(0);
docstring::const_iterator dit = s.begin() + first;
docstring::const_iterator end = s.end();
for (; dit != end; ++dit) {