]> git.lyx.org Git - lyx.git/blobdiff - src/Lexer.cpp
tex2lyx/text.cpp: fix 2 typos
[lyx.git] / src / Lexer.cpp
index d824da0364542253cbc713202cb616f5831b4d2c..664e1b9bfb6c10867b6981479a50d4d8b2c80fe2 100644 (file)
@@ -274,9 +274,9 @@ bool Lexer::Pimpl::setFile(FileName const & filename)
 
        // Skip byte order mark.
        if (is.peek() == 0xef) {
-               int c = is.get();
+               is.get();
                if (is.peek() == 0xbb) {
-                       c = is.get();
+                       is.get();
                        LASSERT(is.get() == 0xbf, /**/);
                } else
                        is.unget();