WaE: C4101: 'unused' : unreferenced local variable
Change-Id: I511c2df37c7feda8a3ffa311074bcf2fe669a73a
This commit is contained in:
@@ -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" );
|
||||
}
|
||||
|
Reference in New Issue
Block a user