summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-23 09:19:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-23 09:40:05 +0100
commit8ff3dbb1c44467d9b71d22b78efa71f253f93cfd (patch)
tree2661931b9840333a7d3e91e5acbfee32d6f2c31f /tools
parentf2ac8d61165cf2a2e0a0369af553ff047e6cee24 (diff)
coverity#708543 Uninitialized scalar field
Change-Id: I7099e15a6526c4fe01a220422bb91d9fd70abc51
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/bigint.cxx2
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 ) );