You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the first case err was assigned and checked after the conditional statement.
In the second case it was ignored and overwritten (as pointed out by cppcheck).
Either the assignment to err is unnecessary, or error condition should be checked.
The text was updated successfully, but these errors were encountered:
Comparing two code blocks, starting here
zlib/contrib/minizip/zip.c
Line 1414 in b8a8373
and here
zlib/contrib/minizip/zip.c
Line 1484 in b8a8373
In the first case
err
was assigned and checked after the conditional statement.In the second case it was ignored and overwritten (as pointed out by cppcheck).
Either the assignment to
err
is unnecessary, or error condition should be checked.The text was updated successfully, but these errors were encountered: