mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-07 23:10:04 +00:00
(svn r26124) -Fix: make sure all members of the default string iterator are initialised
This commit is contained in:
parent
02059ab4a7
commit
5e3aa72855
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user