Fix "may be used uninitialized" compiler warning.
Change-Id: I96e9dbf0f3df527785e03661b9c25bd2d214cd44 Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
This commit is contained in:
parent
f8b89fa507
commit
19c322b089
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user