mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
cppcheck reports
lib/zlib_dfltcc/dfltcc_deflate.c:65:21: warning: Redundant assignment of 'avail_in' to itself. [selfAssignment]
size_t avail_in = avail_in = strm->avail_in;
Only setting avail_in once is needed.
Link: https://lkml.kernel.org/r/20230128165048.1245792-1-trix@redhat.com
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| dfltcc.c | ||
| dfltcc.h | ||
| dfltcc_deflate.c | ||
| dfltcc_deflate.h | ||
| dfltcc_inflate.c | ||
| dfltcc_inflate.h | ||
| dfltcc_util.h | ||
| Makefile | ||