mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
advpack: Simplify the check for an empty string (PVS-Studio).
This commit is contained in:
parent
de092c6bd3
commit
88725cb279
@ -567,7 +567,7 @@ static LPSTR convert_file_list(LPCSTR FileList, DWORD *dwNumFiles)
|
||||
szConvertedList[dwLen - 1] = '\0';
|
||||
|
||||
/* empty list */
|
||||
if (!lstrlenA(szConvertedList))
|
||||
if (!szConvertedList[0])
|
||||
{
|
||||
HeapFree(GetProcessHeap(), 0, szConvertedList);
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user