prefix icon indicating copy to clipboard operation
prefix copied to clipboard

cppcheck find bug

Open RekGRpth opened this issue 4 years ago • 1 comments

prefix.c:1273:12: style: Redundant initialization for 'maxoff'. The initialized value is overwritten before it is read. [redundantInitialization]
    maxoff = entryvec->n - 1;
           ^
prefix.c:1260:25: note: maxoff is initialized
    OffsetNumber maxoff = entryvec->n - 1;
                        ^
prefix.c:1273:12: note: maxoff is overwritten
    maxoff = entryvec->n - 1;
           ^

RekGRpth avatar Nov 10 '21 11:11 RekGRpth

are you able to make a PR?

ROBERT-MCDOWELL avatar Nov 10 '21 12:11 ROBERT-MCDOWELL