diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-04-30 11:01:05 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-01 07:10:31 +0200 |
commit | f9c2094e49f2f4bb5a5c3d76e7f78c0de7d720a8 (patch) | |
tree | ed4bc2f6b87dd543215a674555cd26b6097a8826 /src/corelib/tools/qhash.cpp | |
parent | 69218f58a97f5777c701c806e95ca31c5a277ddc (diff) |
Restructure how we initialize hash nodes a little
This should help to silence coverity which was complaining
hundreds of times about Qt not initializing h and next in
QHashNode.
Change-Id: Ib7977693e9786d4b310799e4f428115c65bb3fee
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qhash.cpp')
-rw-r--r-- | src/corelib/tools/qhash.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp index a2851d15bd..10dcff92c7 100644 --- a/src/corelib/tools/qhash.cpp +++ b/src/corelib/tools/qhash.cpp @@ -369,7 +369,6 @@ QHashData *QHashData::detach_helper(void (*node_duplicate)(Node *, void *), QT_RETHROW; } - dup->h = oldNode->h; *nextNode = dup; nextNode = &dup->next; oldNode = oldNode->next; |