summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.cpp b/src/string.cpp
index 301f150f8..d33356e6e 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -805,7 +805,7 @@ class DefaultStringIterator : public StringIterator
size_t cur_pos; ///< Current iteration position.
public:
- DefaultStringIterator() : string(NULL)
+ DefaultStringIterator() : string(NULL), len(0), cur_pos(0)
{
}