diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-23 09:19:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-23 09:40:05 +0100 |
commit | 8ff3dbb1c44467d9b71d22b78efa71f253f93cfd (patch) | |
tree | 2661931b9840333a7d3e91e5acbfee32d6f2c31f /tools | |
parent | f2ac8d61165cf2a2e0a0369af553ff047e6cee24 (diff) |
coverity#708543 Uninitialized scalar field
Change-Id: I7099e15a6526c4fe01a220422bb91d9fd70abc51
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/generic/bigint.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/source/generic/bigint.cxx b/tools/source/generic/bigint.cxx index 26117ce67033..280a62acfeff 100644 --- a/tools/source/generic/bigint.cxx +++ b/tools/source/generic/bigint.cxx @@ -472,6 +472,8 @@ bool BigInt::ABS_IsLess( const BigInt& rB ) const } BigInt::BigInt( const BigInt& rBigInt ) + : nLen(0) + , bIsNeg(false) { if ( rBigInt.bIsBig ) memcpy( (void*)this, (const void*)&rBigInt, sizeof( BigInt ) ); |