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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user