diff options
author | Colomban Wendling <[email protected]> | 2023-11-15 14:34:16 +0100 |
---|---|---|
committer | Luke from DC <[email protected]> | 2023-11-21 20:19:58 +0000 |
commit | 074e5d0136beb84dec62e0a40209c42dab793d87 (patch) | |
tree | 5fbe13ffd79886aa5476e5719c1563e5a6d98fec /icons | |
parent | d87c912ce8c09bd64263c6296314b6f17de3ad73 (diff) | |
download | mate-panel-074e5d0136beb84dec62e0a40209c42dab793d87.tar.bz2 mate-panel-074e5d0136beb84dec62e0a40209c42dab793d87.tar.xz |
Reorder array index limit check
This is *not* an issue, as it's not really a bounds check but a mere
limit, and the array is NULL-terminated.
However, it looks odd and cppcheck (unsurprisingly) doesn't understand
the details well enough and reports this as a misordered bounds check.
> mate-panel/panel-run-dialog.c:166:12: style: Array index 'i' is used before limits check. [arrayIndexThenCheck]
> items[i] && i < history_max_size;
> ^
Diffstat (limited to 'icons')
0 files changed, 0 insertions, 0 deletions