diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 21:15:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-08 09:18:38 +0100 |
commit | 5691af7977831d8c5fcdcb68e7a1e3547de45e51 (patch) | |
tree | 69795e6478ef0801f956091c8cfae52cc3fc6822 /include/svtools | |
parent | 190e3f7f51b1e382adc9cb18d6ec23dc20584239 (diff) |
coverity#708197 Uninitialized scalar field
Change-Id: Ied5ed708b60fe63288ca2ef1b50a7091dd7dbd2e
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/svparser.hxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/svtools/svparser.hxx b/include/svtools/svparser.hxx index 3e21473e2f65..c26a244465f5 100644 --- a/include/svtools/svparser.hxx +++ b/include/svtools/svparser.hxx @@ -84,8 +84,13 @@ protected: bool bTokenHasValue; int nTokenId; - inline TokenStackType() { nTokenId = 0; } - inline ~TokenStackType() { } + TokenStackType() + : nTokenValue(0) + , bTokenHasValue(0) + , nTokenId(0) + { + } + ~TokenStackType() { } }; // Methoden fuer Token-Stack |