don't check for non-pointer existence in lokker pin validation

CID 1155284
This commit is contained in:
Mike Blumenkrantz 2014-03-13 12:15:52 -04:00
parent c545deb81c
commit 9db01b9cbf
1 changed files with 1 additions and 1 deletions

View File

@ -653,7 +653,7 @@ _lokker_check_auth(void)
}
else if (lokker_is_pin())
{
if (edd->passwd && edd->passwd[0])
if (edd->passwd[0])
{
if (eina_hash_djb2(edd->passwd, strlen(edd->passwd)) ==
e_config->desklock_pin)