mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Remove unused variables, add questions. Anyone know?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35058 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5ee70976de
commit
87600d4d84
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user