diff options
author | Morten Sorvig <morten.sorvig@nokia.com> | 2011-10-19 11:00:04 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-19 12:02:22 +0200 |
commit | 19c322b0896e3549934d7297aa0a7fe32beac8b6 (patch) | |
tree | aa622025966104a835fa04dc780fad658f8b68b8 /src/corelib/tools/qhash.h | |
parent | f8b89fa50725a8d25c76bbf96e622e061d3417a4 (diff) |
Fix "may be used uninitialized" compiler warning.
Change-Id: I96e9dbf0f3df527785e03661b9c25bd2d214cd44
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Diffstat (limited to 'src/corelib/tools/qhash.h')
-rw-r--r-- | src/corelib/tools/qhash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qhash.h b/src/corelib/tools/qhash.h index cc120aa09e..ec9bd42c83 100644 --- a/src/corelib/tools/qhash.h +++ b/src/corelib/tools/qhash.h @@ -857,7 +857,7 @@ Q_OUTOFLINE_TEMPLATE typename QHash<Key, T>::Node **QHash<Key, T>::findNode(cons uint *ahp) const { Node **node; - uint h; + uint h = 0; if (d->numBuckets || ahp) { h = qHash(akey); |