libcacard/vcard_emul_nss: Drop a redundant conditional
commit42119fa3568dc7e8c82447c861678a5987d06d91
authorMarkus Armbruster <armbru@redhat.com>
Fri, 23 May 2014 11:24:39 +0000 (23 13:24 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 23 May 2014 20:46:37 +0000 (24 00:46 +0400)
tree168f2390c0676429fb0e499f43f204838aa877b7
parent26b78f4d3c3f45f84067440e56c3ebf2d25a9574
libcacard/vcard_emul_nss: Drop a redundant conditional

Bailing out when PK11_FindGenericObjects() returns null ensures the
loop that follows it executes at least once.  The "loop did not
execute" test right after it is useless.  Drop it.

Spotted by Coverity.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
libcacard/vcard_emul_nss.c