diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-01 00:10:27 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-01 00:10:27 -0600 |
commit | 2c8193137abf7bb59e854f0aa675dfdad126974e (patch) | |
tree | b649e6b91a6b4903c95300b9d3acfdbab958a1bd /codemaker/source | |
parent | 498c878ddc197c7b7da775f81f25aefa772c2df1 (diff) |
coverity#707676 : Uninitialized scalar field
Change-Id: I546c3f497dc98c88a0d678622c20cced387a4ab2
Diffstat (limited to 'codemaker/source')
-rw-r--r-- | codemaker/source/javamaker/classfile.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/codemaker/source/javamaker/classfile.cxx b/codemaker/source/javamaker/classfile.cxx index c427e96952ae..6673b2fa07a6 100644 --- a/codemaker/source/javamaker/classfile.cxx +++ b/codemaker/source/javamaker/classfile.cxx @@ -431,8 +431,11 @@ ClassFile::Code::Position ClassFile::Code::getPosition() const { return m_code.size(); } -ClassFile::Code::Code(ClassFile & classFile): - m_classFile(classFile), m_exceptionTableLength(0) +ClassFile::Code::Code(ClassFile & classFile) + : m_classFile(classFile) + , m_maxStack(0) + , m_maxLocals(0) + , m_exceptionTableLength(0) {} void ClassFile::Code::ldc(sal_uInt16 index) { |