ntdll/file.c: arttr is never NULL inside NtCreateFile (coverity)

Detlef Riekenberg wine.dev at web.de
Thu Sep 7 17:20:28 CDT 2006


At the start of NtCreateFile, we return with an error, when attr was
NULL.

Remove the unneeded NULL-checks in the Rest of the Function


Changelog:
 - ntdll/file.c: arttr is never NULL inside NtCreateFile


-- 
 
By by ... Detlef

-------------- next part --------------
A non-text attachment was scrubbed...
Name: coverity_attr_is_never_null.diff
Type: text/x-patch
Size: 1217 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060908/6b4b8f85/coverity_attr_is_never_null.bin


More information about the wine-patches mailing list