bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/18806] New: src/bfd/elf.c:1240: bad test ?


From: dcb314 at hotmail dot com
Subject: [Bug binutils/18806] New: src/bfd/elf.c:1240: bad test ?
Date: Tue, 11 Aug 2015 16:50:48 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18806

            Bug ID: 18806
           Summary: src/bfd/elf.c:1240: bad test ?
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

../../src/bfd/elf.c:1240:26: warning: self-comparison always evaluates to true
[-Wtautological-compare]

Source code is

         || oheader->sh_type == oheader->sh_type)

Maybe

         || iheader->sh_type == oheader->sh_type)

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]