Commit bc854874 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

shell32: Remove useless NULL check (Coverity).

parent 9145a1cd
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment