Even if Null is explicitly checked for, the compiler still gives the warning.
-- Summary: Erroneous compiler warning: null argument where non-null required Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jesse dot millan at gmail dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22179