http://llvm.org/bugs/show_bug.cgi?id=17014
David Blaikie <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |WONTFIX --- Comment #1 from David Blaikie <[email protected]> --- This is considered an acceptable false positive given the true positives it allows. This code can be rewritten to avoid the warning. Replace this: foo false_positive_unsused_variable(b,argc); with this: foo(b,argc); Since you don't need the named variable (it has no work to do in its dtor) & just want the ctor side effects. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
