redundant comparison libmng_chunk_io.c

Bug #1501261 reported by Garima
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmng (Ubuntu)
New
Undecided
Unassigned

Bug Description

check on variable iRawlen is redundant at some places in libmng_chunk_io.c

At #3850: Redundant comparison '(5 <= iRawlen)' is always 'true' because it is already checked at #3775.
At #6346: Redundant comparison '(0 != iRawlen)' is always 'true' because it is already checked at #6323.
At #3407: Redundant comparison '(0 != iRawlen)' is always 'true' because it is already checked at #6380.

For detail information please check the attached patch file.

Tags: patch
Revision history for this message
Garima (garima-g) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "redundant_comparison.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.