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

           Summary: Reports false positive
           Product: clang
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=6135)
 --> (http://llvm.org/bugs/attachment.cgi?id=6135)
analysis output

I'm attaching full output, which contains the source as well, but the short
summary is:

warning: Null pointer passed as an argument to a 'nonnull' parameter
                dt->Hour = atoi(time_start);
                           ^    ~~~~~~~~~~

If you look at the line before, you can easily notice, that it can not be NULL,
because it's being checked:

if (time_start != NULL) {
    dt->Hour = atoi(time_start);

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to