summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-09 17:05:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-09 17:05:50 +0000
commit1ac855e8550af5cb54b27f306743f56a26c8f9c1 (patch)
tree6637a9b2473cbd8ad5559c00ef42096157cd3bbc /hwpfilter
parent988de444299803e749f4a4577edb0524ccc51433 (diff)
coverity#707904 Uninitialized scalar field
Change-Id: Ied056d944574534e1900cf6644d1eea868cbeee1
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hwpread.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx
index ae6a0a84b5b0..d0b37c496f58 100644
--- a/hwpfilter/source/hwpread.cxx
+++ b/hwpfilter/source/hwpread.cxx
@@ -659,13 +659,15 @@ bool ShowPageNum::Read(HWPFile & hwpf)
return !hwpf.State();
}
-
/* Ȧʽ/߱ (21) */
-PageNumCtrl::PageNumCtrl():HBox(CH_PAGE_NUM_CTRL)
+PageNumCtrl::PageNumCtrl()
+ : HBox(CH_PAGE_NUM_CTRL)
+ , kind(0)
+ , what(0)
+ , dummy(0)
{
}
-
bool PageNumCtrl::Read(HWPFile & hwpf)
{
hwpf.Read2b(&kind, 1);