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

            Bug ID: 19493
           Summary: False positive: Function call argument is an
                    uninitialized value
           Product: clang
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

The file is a test file part of fakeroot-ng:
http://sourceforge.net/p/fakerootng/source/ci/multithreaded_debugger/tree/tests/getsiginfo.c#l102

../../tests/getsiginfo.c:102:13: warning: Function call argument is an
uninitialized value
        sig=print_wait_res( pid, status );
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

The line immediately before is:
pid=wait(&status);

"wait", in this case, is the syscall:
http://linux.die.net/man/2/wait

The warning fails to explain which argument it thinks is uninitialized, but I
think it's fairly clear both are.

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

Reply via email to