loplugin:empty

Change-Id: Ib52d0d4db0f50ba7551eadcb3db2920008596b59
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132761
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2022-04-10 09:15:27 +02:00
parent cb66be9e91
commit fe858f28a0

View File

@@ -49,7 +49,7 @@ static bool GetMsiPropA( MSIHANDLE hMSI, const char* pPropName, char** ppValue )
ZeroMemory( buff, nbytes );
MsiGetPropertyA( hMSI, pPropName, buff, &sz );
*ppValue = buff;
return ( strlen(buff) > 0 );
return ( buff[0] != '\0' );
}
return false;
}