mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix compiler warning about unused string consts
These trigger a warning with Clang: src/Session.cpp:34:14: error: unused variable 'sec_session' [-Werror,-Wunused-const-variable] string const sec_session = "[session info]"; ^ src/Session.cpp:35:14: error: unused variable 'sec_toolbars' [-Werror,-Wunused-const-variable] string const sec_toolbars = "[toolbars]"; ^
This commit is contained in:
parent
82e430dfd0
commit
1dc55bd88b
@ -31,11 +31,12 @@ string const sec_lastfiles = "[recent files]";
|
||||
string const sec_lastfilepos = "[cursor positions]";
|
||||
string const sec_lastopened = "[last opened files]";
|
||||
string const sec_bookmarks = "[bookmarks]";
|
||||
string const sec_session = "[session info]";
|
||||
string const sec_toolbars = "[toolbars]";
|
||||
string const sec_lastcommands = "[last commands]";
|
||||
string const sec_authfiles = "[auth files]";
|
||||
string const sec_shellescape = "[shell escape files]";
|
||||
// currently unused:
|
||||
//string const sec_session = "[session info]";
|
||||
//string const sec_toolbars = "[toolbars]";
|
||||
|
||||
} // namespace
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user