summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-11 08:32:06 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-11 08:50:49 +0300
commitfe842b034fb5f9b3a8444f66cc51f12464444ca9 (patch)
treed2b9f208432b26eca74424f9e800a23fe9899b80 /desktop
parentb47e653209729665cd1cf426ee6141705a2376a7 (diff)
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
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/cmdlineargs.cxx2
-rw-r--r--desktop/source/app/cmdlineargs.hxx1
2 files changed, 0 insertions, 3 deletions
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index ca92a8dd1d5d..f363f17616f9 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 6a5bdf1878f0..099bc251f7f3 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;