summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2015-11-07 19:15:21 +0000
committerKris De Gussem <Kris.De.Gussem@hotmail.com>2015-11-07 19:15:21 +0000
commite27c914a9673a447a13e1be8eba799939100acf7 (patch)
tree9dc9d5ecc97ac1954df3d82207ea42bcfd90abc2 /src
parentstatic code analysis (diff)
downloadinkscape-e27c914a9673a447a13e1be8eba799939100acf7.tar.gz
inkscape-e27c914a9673a447a13e1be8eba799939100acf7.zip
static code analysis
(bzr r14451)
Diffstat (limited to 'src')
-rw-r--r--src/sp-clippath.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-clippath.h b/src/sp-clippath.h
index c9a8c68df..8abe97f3f 100644
--- a/src/sp-clippath.h
+++ b/src/sp-clippath.h
@@ -93,10 +93,10 @@ protected:
Inkscape::XML::Node * const owner_repr = owner->getRepr();
//XML Tree being used directly here while it shouldn't be...
Inkscape::XML::Node * const obj_repr = obj->getRepr();
- char const * owner_name = NULL;
- char const * owner_clippath = NULL;
- char const * obj_name = NULL;
- char const * obj_id = NULL;
+ char const * owner_name = "";
+ char const * owner_clippath = "";
+ char const * obj_name = "";
+ char const * obj_id = "";
if (owner_repr != NULL) {
owner_name = owner_repr->name();
owner_clippath = owner_repr->attribute("clippath");