diff options
author | Stefan Weil <sw@weilnetz.de> | 2013-11-17 22:12:18 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2013-12-02 21:07:25 +0400 |
commit | efbc42e5848bb8000bfa6927847f1870850942ba (patch) | |
tree | 841cbe7adb886b16dc68ad15b8078a85d22946d7 /libcacard | |
parent | 754e72e195faca8042072ada054bc3668aa1647d (diff) | |
download | qemu-efbc42e5848bb8000bfa6927847f1870850942ba.tar.gz qemu-efbc42e5848bb8000bfa6927847f1870850942ba.tar.bz2 qemu-efbc42e5848bb8000bfa6927847f1870850942ba.zip |
libcacard/vcard_emul_nss: Remove unused statement (value stored is never read)
Warning from ccc-analyzer:
libcacard/vcard_emul_nss.c:937:9: warning:
Value stored to 'cert_count' is never read
cert_count = options->vreader[i].cert_count;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'libcacard')
-rw-r--r-- | libcacard/vcard_emul_nss.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libcacard/vcard_emul_nss.c b/libcacard/vcard_emul_nss.c index fb429b1f82..ee2dfaee82 100644 --- a/libcacard/vcard_emul_nss.c +++ b/libcacard/vcard_emul_nss.c @@ -934,7 +934,6 @@ vcard_emul_init(const VCardEmulOptions *options) vreader = vreader_new(options->vreader[i].vname, vreader_emul, vreader_emul_delete); vreader_add_reader(vreader); - cert_count = options->vreader[i].cert_count; vcard_emul_alloc_arrays(&certs, &cert_len, &keys, options->vreader[i].cert_count); |