hwpfilter/source/hpara.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 01bd62352fe2b27ffd09cbff041a4b76a753571f Author: Caolán McNamara <caol...@redhat.com> Date: Thu Jul 6 12:17:39 2017 +0100 valgrind: use of uninitialized value Change-Id: I09279bf27eaa227ab6cdb74e79a1d03e424bb8db Reviewed-on: https://gerrit.libreoffice.org/39656 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/hwpfilter/source/hpara.cxx b/hwpfilter/source/hpara.cxx index f4e41c256347..e31a8b8005ae 100644 --- a/hwpfilter/source/hpara.cxx +++ b/hwpfilter/source/hpara.cxx @@ -88,7 +88,6 @@ HWPPara::~HWPPara() bool HWPPara::Read(HWPFile & hwpf, unsigned char flag) { - unsigned char same_cshape; int ii; scflag = flag; // Paragraph Information @@ -146,6 +145,7 @@ bool HWPPara::Read(HWPFile & hwpf, unsigned char flag) cshapep[ii].reset(new CharShape); memset(cshapep[ii].get(), 0, sizeof(CharShape)); + unsigned char same_cshape(0); hwpf.Read1b(&same_cshape, 1); if (!same_cshape) {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits