From 2af991dc232bbf96557dc5efe5bd2ce9b6b99f9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 21 Jan 2016 14:05:53 +0000 Subject: [PATCH] coverity#1349757 Unchecked return value Change-Id: Ia2286fa9e1c351c4e4c9579b31b94ce1eac3b841 --- hwpfilter/source/hfont.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];