[llvm-bugs] [Bug 31676] New: Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp: 3 * pointless local variable ?

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 18 02:03:04 PST 2017


https://llvm.org/bugs/show_bug.cgi?id=31676

            Bug ID: 31676
           Summary: Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp: 3 *
                    pointless local variable ?
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dcb314 at hotmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

[trunk/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp:288]: (style)
Variable 'NewIndirectBranches' is modified but its new value is never used.
[trunk/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp:290]: (style)
Variable 'NewValueBranches' is modified but its new value is never used.
[trunk/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp:302]: (style)
Variable 'Returns' is modified but its new value is never used.

Suggest either use these local variables or delete them.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170118/83ed1325/attachment.html>


More information about the llvm-bugs mailing list