Task #92149 - added.err

back to task #92149
download
Error: COMPILER_WARNING (CWE-252):
unzip60/extract.c: scope_hint: In function ‘extract_or_test_member’
unzip60/extract.c:2301:13: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
# 2301 |             read(G.zipfd, (char *)G.inbuf, INBUFSIZ);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2299|               zlseek(G.zipfd, G.cur_zipfile_bufstart, SEEK_SET);
# 2300|   #endif /* ?USE_STRM_INPUT */
# 2301|->             read(G.zipfd, (char *)G.inbuf, INBUFSIZ);
# 2302|               G.incnt -= INBUFSIZ - back;
# 2303|               G.inptr += INBUFSIZ - back;