projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74f6c55
)
Initialize variables before using them.
author
Sérgio Martins
<sergio.martins@kdab.com>
Wed, 6 Nov 2013 15:04:10 +0000
(15:04 +0000)
committer
The Qt Project
<gerrit-noreply@qt-project.org>
Wed, 6 Nov 2013 15:55:09 +0000
(16:55 +0100)
Change-Id: I7cd5a17259814b3f2405b63d7f4d2a0fd30cae4d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsruntime/qv4mm.cpp
patch
|
blob
|
history
diff --git
a/src/qml/jsruntime/qv4mm.cpp
b/src/qml/jsruntime/qv4mm.cpp
index
3a53588
..
9eb3ae7
100644
(file)
--- a/
src/qml/jsruntime/qv4mm.cpp
+++ b/
src/qml/jsruntime/qv4mm.cpp
@@
-165,6
+165,8
@@
struct MemoryManager::Data
, gcBlocked(false)
, engine(0)
, stackTop(0)
+ , totalItems(0)
+ , totalAlloc(0)
{
memset(smallItems, 0, sizeof(smallItems));
memset(nChunks, 0, sizeof(nChunks));