[Libreoffice-commits] core.git: desktop/source
Tor Lillqvist
tml at iki.fi
Sat Aug 10 22:54:44 PDT 2013
desktop/source/app/cmdlineargs.cxx | 2 --
desktop/source/app/cmdlineargs.hxx | 1 -
2 files changed, 3 deletions(-)
New commits:
commit fe842b034fb5f9b3a8444f66cc51f12464444ca9
Author: Tor Lillqvist <tml at iki.fi>
Date: Sun Aug 11 08:32:06 2013 +0300
m_psn is set but never used
For some reason Clang did not notice and warn about this. I think it
should have been able to, as it is a private field and all code for
this class is in the same source file.
Change-Id: Ib3352695e1d725b768f4e0978a5e9c72715f1021
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index ca92a8d..f363f17 100644
--- a/desktop/source/app/cmdlineargs.cxx
+++ b/desktop/source/app/cmdlineargs.cxx
@@ -499,7 +499,6 @@ bool CommandLineArgs::InterpretCommandLineParameter( const OUString& aArg, OUStr
*/
else if ( aArg.match("-psn") )
{
- m_psn = true;
return true;
}
#endif
@@ -617,7 +616,6 @@ void CommandLineArgs::InitParamValues()
m_helpmath = false;
m_helpimpress = false;
m_helpbase = false;
- m_psn = false;
m_version = false;
m_splashpipe = false;
m_bEmpty = true;
diff --git a/desktop/source/app/cmdlineargs.hxx b/desktop/source/app/cmdlineargs.hxx
index 6a5bdf1..099bc25 100644
--- a/desktop/source/app/cmdlineargs.hxx
+++ b/desktop/source/app/cmdlineargs.hxx
@@ -144,7 +144,6 @@ class CommandLineArgs: private boost::noncopyable
bool m_helpmath;
bool m_helpimpress;
bool m_helpbase;
- bool m_psn;
bool m_version;
bool m_splashpipe;
More information about the Libreoffice-commits
mailing list