summaryrefslogtreecommitdiffstats
path: root/src/2geom/pathvector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/2geom/pathvector.h')
-rw-r--r--src/2geom/pathvector.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/2geom/pathvector.h b/src/2geom/pathvector.h
index 791cb0703..e875e915f 100644
--- a/src/2geom/pathvector.h
+++ b/src/2geom/pathvector.h
@@ -108,7 +108,10 @@ struct PathVectorPosition {
// pathvector[path_nr].pointAt(t) is the position
unsigned int path_nr;
double t;
- PathVectorPosition() {}
+ PathVectorPosition() :
+ path_nr(0),
+ t(0)
+ {}
PathVectorPosition(unsigned int path_nr,
double t) : path_nr(path_nr), t(t) {}
};