summaryrefslogtreecommitdiffstats
path: root/src/removeoverlap.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2011-10-29 16:41:49 +0000
committerKris <Kris.De.Gussem@hotmail.com>2011-10-29 16:41:49 +0000
commitd7a3d42e527b4a7754b52640006d8eed01e71fc8 (patch)
tree39db08a47c1a91638619a360435d6820bf326605 /src/removeoverlap.cpp
parentDutch translation update (diff)
downloadinkscape-d7a3d42e527b4a7754b52640006d8eed01e71fc8.tar.gz
inkscape-d7a3d42e527b4a7754b52640006d8eed01e71fc8.zip
cppcheck: variable initialisation
(bzr r10705)
Diffstat (limited to 'src/removeoverlap.cpp')
-rw-r--r--src/removeoverlap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/removeoverlap.cpp b/src/removeoverlap.cpp
index 6dd8d6a79..0c45e34a9 100644
--- a/src/removeoverlap.cpp
+++ b/src/removeoverlap.cpp
@@ -26,7 +26,7 @@ namespace {
Geom::Point midpoint;
Rectangle *vspc_rect;
- Record() {}
+ Record() : item(0), vspc_rect(0) {}
Record(SPItem *i, Geom::Point m, Rectangle *r)
: item(i), midpoint(m), vspc_rect(r) {}
};