]> git.proxmox.com Git - qemu.git/commit
libcacard: Fix cppcheck warning and remove unneeded code
authorStefan Weil <sw@weilnetz.de>
Sun, 16 Jun 2013 09:08:52 +0000 (11:08 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 21 Jun 2013 18:52:50 +0000 (22:52 +0400)
commit48f0475f813dfa5ceb0e1f10c2ac3f28a8af583b
tree12ebc3e239715fe2fc8b8793040094001727e254
parent4f080057767a684aab60998659e18f98c5fbefc7
libcacard: Fix cppcheck warning and remove unneeded code

The local function vcard_emul_alloc_arrays always returned PR_TRUE.
Therefore cppcheck complained about code which handled the
non-existent PR_FALSE case.

Remove the function's return value and the dead code.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
libcacard/vcard_emul_nss.c