Redundant Comparison in libmng_zlib.c
Bug #1512617 reported by
Garima
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmng (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
In libmng_zlib.c
At #368, 'iRslt' == '0' is checked.
So, it is redundant comparison 'iRslt' == '0' (0 == 0) which is always true at #373, #379, #382, #385 and #388.
The solution is to remove 'iRslt' == '0' comparison.
For detail information please check the attached patch file.
To post a comment you must log in.
Thank you for your bug report, that seems like the sort of issue that should be reported upstream though, could you do that?