From 87600d4d84e6763c8ebbabf30d5921d2bf024ec9 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 5 Aug 2010 20:25:29 +0000 Subject: [PATCH] Remove unused variables, add questions. Anyone know? git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35058 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBibtex.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp index d217966bf1..5c673c88c1 100644 --- a/src/insets/InsetBibtex.cpp +++ b/src/insets/InsetBibtex.cpp @@ -473,7 +473,7 @@ namespace { /// @return true if a string of length > 0 could be read. /// bool readTypeOrKey(docstring & val, ifdocstream & ifs, - docstring const & delimChars, docstring const &illegalChars, + docstring const & delimChars, docstring const & illegalChars, charCase chCase) { char_type ch; @@ -613,6 +613,7 @@ namespace { if (!ifs) return false; + // FIXME Why is this here? ifs.get(ch); if (!ifs) @@ -798,10 +799,8 @@ void InsetBibtex::fillWithBibKeys(BiblioInfo & keylist, // all items must be separated by a comma. If // it is missing the scanning of this entry is // stopped and the next is searched. - docstring fields; docstring name; docstring value; - docstring commaNewline; docstring data; BibTeXInfo keyvalmap(key, entryType); @@ -815,6 +814,7 @@ void InsetBibtex::fillWithBibKeys(BiblioInfo & keylist, break; // next char must be an equal sign + // FIXME Whitespace?? ifs.get(ch); if (!ifs) { lyxerr << "InsetBibtex::fillWithBibKeys: Unexpected end of file." << std::endl; -- 2.39.2