]> git.lyx.org Git - features.git/commitdiff
Another warning.
authorRichard Heck <rgheck@comcast.net>
Thu, 18 Nov 2010 22:02:46 +0000 (22:02 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 18 Nov 2010 22:02:46 +0000 (22:02 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36387 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/MathStream.cpp

index f4ff9349b059543097e47a2bfbf6294d3183d0c8..803023876cb07a91da566251532706655dc6738e 100644 (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) {