[LLVMbugs] [Bug 22228] New: getopt_long: Description: Value stored to 'argv' is never read

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 14 10:13:08 PST 2015


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

            Bug ID: 22228
           Summary: getopt_long: Description: Value stored to 'argv' is
                    never read
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: nick at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I think this is a false positive, but I have the standard block of code from
`man getopt_long` in the examples section, and I'm getting a Dead Store Dead
Assignment warning.  I think this is a false positive.

My build is: ANALYZER BUILD: checker-276 (2014-02-18 22:53:01)

The code more specifically is:
https://github.com/h2o/h2o/blob/9cb45394b00f3ca9644ca99ca3d28f96a089835a/src/main.c#L1103-L1140

-- 
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/20150114/3588916f/attachment.html>


More information about the llvm-bugs mailing list