diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 13:05:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 14:38:38 +0000 |
commit | 81926e66d18a085687f73babcd9c29142b4a48b1 (patch) | |
tree | 2490e066e74a62d9c7a0c9dedcddfc2d3a8b7257 /basic | |
parent | 7acea5ae4ccdfba7745660e39e04aaabe4254629 (diff) |
coverity#707650 Uninitialized pointer field
Change-Id: I6843ce28f3e1395a2ab3c5515f393cce5096674b
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/inc/runtime.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx index 46fc0f8d76d5..673cd07d90ba 100644 --- a/basic/source/inc/runtime.hxx +++ b/basic/source/inc/runtime.hxx @@ -69,9 +69,12 @@ struct SbiForStack { // for/next stack: css::uno::Reference< css::container::XEnumeration > xEnumeration; SbiForStack( void ) - : pArrayCurIndices( NULL ) - , pArrayLowerBounds( NULL ) - , pArrayUpperBounds( NULL ) + : pNext(NULL) + , eForType(FOR_TO) + , nCurCollectionIndex(0) + , pArrayCurIndices(NULL) + , pArrayLowerBounds(NULL) + , pArrayUpperBounds(NULL) {} ~SbiForStack() { |