[LLVMbugs] [Bug 11741] New: Missing "set but unused" warning
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 10 17:13:48 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11741
Bug #: 11741
Summary: Missing "set but unused" warning
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Gcc warns on
void f(void) {
int a;
a = 1;
}
test.c: In function âfâ:
test.c:2:7: warning: variable âaâ set but not used [-Wunused-but-set-variable]
We don't.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list