Fix unreadVariable warning

This commit is contained in:
Konstantinos Margaritis
2024-05-15 17:05:50 +03:00
parent 36118e9de3
commit 4bb3f4445f
14 changed files with 30 additions and 27 deletions

View File

@@ -142,6 +142,7 @@ size_t JOIN(sc_, FN_SUFFIX)(const struct RoseEngine *rose,
COPY(stream_body + so->groups, so->groups_size);
/* copy the real bits of history */
// cppcheck-suppress unreadVariable
UNUSED u32 hend = so->history + rose->historyRequired;
COPY(stream_body + hend - history, history);