[llvm-bugs] [Bug 31527] New: llvm/lib/LTO/LTO.cpp:909: local variable 'Partition' set but not used ?
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jan 4 00:57:51 PST 2017
https://llvm.org/bugs/show_bug.cgi?id=31527
Bug ID: 31527
Summary: llvm/lib/LTO/LTO.cpp:909: local variable 'Partition'
set but not used ?
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
llvm/lib/LTO/LTO.cpp:909]: (style) Variable 'Partition' is modified but its new
value is never used.
$ fgrep Partition trunk/llvm/lib/LTO/LTO.cpp
...
// Partition numbers for ThinLTO jobs start at 1 (see comments for
unsigned Partition = 1;
++Partition;
$
Suggest either use the variable or delete it.
--
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/20170104/cb84c9c1/attachment.html>
More information about the llvm-bugs
mailing list