mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 23:14:31 +08:00
e89bd9e7d8
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_deflate.c | ||
dfltcc_deflate.h | ||
dfltcc_inflate.c | ||
dfltcc_inflate.h | ||
dfltcc_util.h | ||
dfltcc.c | ||
dfltcc.h | ||
Makefile |