Skip to content
Permalink
Browse files

qtermwidget/BlockArray.h: remove useless sizeof() to avoid cppcheck w…

…arning about suspicious division by sizeof() in a later memset() call
  • Loading branch information
rouault committed Jun 1, 2020
1 parent 641e495 commit d497edc540354ae8884eaaa18be4d2aab7c3377a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/grass/qtermwidget/BlockArray.h
@@ -28,7 +28,7 @@
//#error Do not use in KDE 2.1

#define BlockSize (1 << 12)
#define ENTRIES ((BlockSize - sizeof(size_t) ) / sizeof(unsigned char))
#define ENTRIES ((BlockSize - sizeof(size_t) ))

namespace Konsole {

0 comments on commit d497edc

Please sign in to comment.
You can’t perform that action at this time.