Fix "may be used uninitialized" compiler warning.

Change-Id: I96e9dbf0f3df527785e03661b9c25bd2d214cd44
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
This commit is contained in:
Morten Sorvig 2011-10-19 11:00:04 +02:00 committed by Qt by Nokia
parent f8b89fa507
commit 19c322b089

View File

@ -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);