Marcus Meissner : shell32: Remove useless NULL check (Coverity).
Module: wine Branch: master Commit: bc854874964ad86bc6ce0ed0b416c8c63bd0b3a1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bc854874964ad86bc6ce0ed0b4... Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Thu Nov 19 09:10:03 2009 +0100 shell32: Remove useless NULL check (Coverity). --- dlls/shell32/shfldr_unixfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/shell32/shfldr_unixfs.c b/dlls/shell32/shfldr_unixfs.c index 9d4e956..921b9c0 100644 --- a/dlls/shell32/shfldr_unixfs.c +++ b/dlls/shell32/shfldr_unixfs.c @@ -1468,7 +1468,7 @@ static HRESULT WINAPI UnixFolder_IPersistFolder3_Initialize(IPersistFolder3* ifa current = ILGetNext(current); } - if (current && current->mkid.cb) { + if (current->mkid.cb) { if (_ILIsDrive(current)) { WCHAR wszDrive[4] = { '?', ':', '\\', 0 }; wszDrive[0] = (WCHAR)*_ILGetTextPointer(current);
participants (1)
-
Alexandre Julliard