WaE: C4101: 'unused' : unreferenced local variable

Change-Id: I511c2df37c7feda8a3ffa311074bcf2fe669a73a
This commit is contained in:
Tor Lillqvist
2014-10-28 20:49:54 +02:00
parent ddc7f5dda5
commit bdd22c4e53

View File

@@ -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" );
}