tools/source/generic/fract.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit bdd22c4e53523e0dc204ecd9cd3e8e3614c96b0d Author: Tor Lillqvist <t...@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" ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits