[llvm-bugs] [Bug 44599] New: Missed unused variable

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 20 10:03:40 PST 2020


            Bug ID: 44599
           Summary: Missed unused variable
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: yuri at tsoft.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Created attachment 23036
  --> https://bugs.llvm.org/attachment.cgi?id=23036&action=edit

The local variable "v" is only assigned to, but is never used. clang 80 and 90
miss that.

gcc doesn't miss that.

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/20200120/40b04f0e/attachment.html>

More information about the llvm-bugs mailing list