[LLVMbugs] [Bug 22769] False Positive: Clang analyzer marks variable which is returned as part of a struct as "Value stored to variable is never read"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 3 09:45:51 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22769

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
The static analyzer is correct. Was the second if supposed to be an else if?

-- 
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/20150303/a45e3fcd/attachment.html>


More information about the llvm-bugs mailing list