mirror of
https://github.com/torvalds/linux.git
synced 2025-11-01 17:18:25 +02: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:
|
||
|---|---|---|
| .. | ||
| dfltcc.c | ||
| dfltcc.h | ||
| dfltcc_deflate.c | ||
| dfltcc_deflate.h | ||
| dfltcc_inflate.c | ||
| dfltcc_inflate.h | ||
| dfltcc_util.h | ||
| Makefile | ||