summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-02-01 00:10:27 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-02-01 00:10:27 -0600
commit2c8193137abf7bb59e854f0aa675dfdad126974e (patch)
treeb649e6b91a6b4903c95300b9d3acfdbab958a1bd /codemaker
parent498c878ddc197c7b7da775f81f25aefa772c2df1 (diff)
coverity#707676 : Uninitialized scalar field
Change-Id: I546c3f497dc98c88a0d678622c20cced387a4ab2
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/javamaker/classfile.cxx7
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) {