diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-08 10:35:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-08 12:18:53 +0100 |
commit | 969b08ea73211503454f9a190391a40318348b92 (patch) | |
tree | ea20497432ed28dee7e7a61e6be5c9312c7f51a6 /lotuswordpro | |
parent | 8f2405dd5b63bb04cd34df51c350f31d771d9c55 (diff) |
coverity#738720 Uninitialized scalar field
Change-Id: If5fc315467be2890fd733d930546b2c12fc97622
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpoleobject.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/lwpoleobject.hxx b/lotuswordpro/source/filter/lwpoleobject.hxx index 1ab69c112065..6386429b3008 100644 --- a/lotuswordpro/source/filter/lwpoleobject.hxx +++ b/lotuswordpro/source/filter/lwpoleobject.hxx @@ -80,6 +80,13 @@ typedef struct tagAFID_CACHE unsigned long LinkedFileTime; /* 0 if not linked */ long Width; /* -1 if not present */ long Height; /* -1 if not present */ + tagAFID_CACHE() + : LinkedFileSize(0) + , LinkedFileTime(0) + , Width(0) + , Height(0) + { + } } AFID_CACHE, * PAFID_CACHE; /* Maximum string sizes - includes space for null terminator */ |