From c0b0053859546f7f37efca0feb570d20df07fb2d Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 20 Jun 2017 13:31:06 +0300 Subject: [PATCH] GCC warning. --HG-- branch : feature --- src/libs/vdxf/libdxfrw/drw_header.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libs/vdxf/libdxfrw/drw_header.cpp b/src/libs/vdxf/libdxfrw/drw_header.cpp index 4812360c6..7485da083 100644 --- a/src/libs/vdxf/libdxfrw/drw_header.cpp +++ b/src/libs/vdxf/libdxfrw/drw_header.cpp @@ -472,12 +472,14 @@ void DRW_Header::write(dxfWriter *writer, DRW::Version ver){ if (getInt("$DIMSOXD", &varInt)) writer->writeInt16(70, varInt); else + { writer->writeInt16(70, 0); writer->writeString(9, "$DIMSAH"); if (getInt("$DIMSAH", &varInt)) writer->writeInt16(70, varInt); else writer->writeInt16(70, 0); + } writer->writeString(9, "$DIMBLK1"); if (getStr("$DIMBLK1", &varStr)) if (ver == DRW::AC1009)