From 778cbb2a70f55f898dd3ba33ee36dbddb833d7c6 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 9 Mar 2017 12:23:36 +0200 Subject: [PATCH] Cppcheck warnings. --HG-- branch : develop --- src/libs/vdxf/dxflib/dl_dxf.cpp | 2 -- src/libs/vlayout/vposter.h | 1 + src/libs/vmisc/debugbreak.h | 25 +++++++++++++++---------- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/src/libs/vdxf/dxflib/dl_dxf.cpp b/src/libs/vdxf/dxflib/dl_dxf.cpp index 75d5bef73..d45799b45 100644 --- a/src/libs/vdxf/dxflib/dl_dxf.cpp +++ b/src/libs/vdxf/dxflib/dl_dxf.cpp @@ -3170,7 +3170,6 @@ 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