summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-10-28 20:49:54 +0200
committerTor Lillqvist <tml@collabora.com>2014-10-28 20:49:54 +0200
commitbdd22c4e53523e0dc204ecd9cd3e8e3614c96b0d (patch)
treee17bfdb6fc33b23e1ff6c56aef785d5b3af07306
parentddc7f5dda51b100e69a8e7d86c0f8144ed3d8ea5 (diff)
WaE: C4101: 'unused' : unreferenced local variable
Change-Id: I511c2df37c7feda8a3ffa311074bcf2fe669a73a
-rw-r--r--tools/source/generic/fract.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx
index 3d35b4e3de42..7102d5ac281b 100644
--- a/tools/source/generic/fract.cxx
+++ b/tools/source/generic/fract.cxx
@@ -55,7 +55,7 @@ Fraction::Fraction( double dVal )
if ( HasOverflowValue() )
throw boost::bad_rational();
valid = true;
- } catch(const boost::bad_rational& unused) {
+ } catch(const boost::bad_rational&) {
valid = false;
SAL_WARN( "tools.fraction", "'Fraction(" << dVal << ")' invalid fraction created" );
}