← Back to team overview

desktop-packages team mailing list archive

[Bug 1512617] [NEW] Redundant Comparison in libmng_zlib.c

 

Public bug reported:

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.

** Affects: libmng (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "Redundant Comparision in libmng_zlib.c"
   https://bugs.launchpad.net/bugs/1512617/+attachment/4511878/+files/redundant_comparison_libmng_zlib.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libmng in Ubuntu.
https://bugs.launchpad.net/bugs/1512617

Title:
  Redundant Comparison in libmng_zlib.c

Status in libmng package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libmng/+bug/1512617/+subscriptions


Follow ups