diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-21 14:05:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-21 14:07:45 +0000 |
commit | 2af991dc232bbf96557dc5efe5bd2ce9b6b99f9b (patch) | |
tree | 8e559cfea5e4f6353dd122e7afa97abaecbfaa59 /hwpfilter | |
parent | d6d5c6057ffaccf82b7060a46ded573b46ab5fed (diff) |
coverity#1349757 Unchecked return value
Change-Id: Ia2286fa9e1c351c4e4c9579b31b94ce1eac3b841
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hfont.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hfont.cxx b/hwpfilter/source/hfont.cxx index a16905cda66c..70e394282abc 100644 --- a/hwpfilter/source/hfont.cxx +++ b/hwpfilter/source/hfont.cxx @@ -80,7 +80,7 @@ void HWPFont::Read(HWPFile & hwpf) hwpf.Read2b(&nfonts, 1); if (!(nfonts > 0 && nfonts < MAXFONTS)) { - hwpf.SetState(HWP_InvalidFileFormat); + (void)hwpf.SetState(HWP_InvalidFileFormat); return; } fontnames[lang] = new char[nfonts * FONTNAMELEN]; |