[LLVMbugs] [Bug 11722] New: False positive 'dead assignment' when using exception

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jan 7 12:11:06 PST 2012


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

             Bug #: 11722
           Summary: False positive 'dead assignment' when using exception
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: llvm at boxie.eu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7850
  --> http://llvm.org/bugs/attachment.cgi?id=7850
Value stored to 'result' is never read

Bug reported by the clang static analyzer.

Description: Value stored to 'result' is never read
File: /[...]/test/main.cpp
Line: 11

The code prints the value 1 to console.

-- 
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