From bc854874964ad86bc6ce0ed0b416c8c63bd0b3a1 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 19 Nov 2009 09:10:03 +0100 Subject: [PATCH] shell32: Remove useless NULL check (Coverity). --- dlls/shell32/shfldr_unixfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/shfldr_unixfs.c b/dlls/shell32/shfldr_unixfs.c index 9d4e956d81c..921b9c03e35 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);