From c94afdf1742f5b9982a46c6e970abe0b86ce87e5 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 7 Aug 2016 17:31:36 +0300 Subject: [PATCH] Cppcheck warning. --HG-- branch : develop --- src/libs/vdxf/dxflib/dl_dxf.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libs/vdxf/dxflib/dl_dxf.cpp b/src/libs/vdxf/dxflib/dl_dxf.cpp index ecc1b7416..82f038cb9 100644 --- a/src/libs/vdxf/dxflib/dl_dxf.cpp +++ b/src/libs/vdxf/dxflib/dl_dxf.cpp @@ -3126,6 +3126,7 @@ void DL_Dxf::writeMText(DL_WriterA& dw, // Creare text chunks of 250 characters each: int length = static_cast(data.text.length()); + // cppcheck-suppress arrayIndexOutOfBounds char chunk[251]; int i; for (i=250; i