[Libreoffice-commits] core.git: tools/source
Tor Lillqvist
tml at collabora.com
Tue Oct 28 11:50:56 PDT 2014
tools/source/generic/fract.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bdd22c4e53523e0dc204ecd9cd3e8e3614c96b0d
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Oct 28 20:49:54 2014 +0200
WaE: C4101: 'unused' : unreferenced local variable
Change-Id: I511c2df37c7feda8a3ffa311074bcf2fe669a73a
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx
index 3d35b4e..7102d5a 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" );
}
More information about the Libreoffice-commits
mailing list