add missing include, removed unused variable and initialize variable
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2518 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
9cbac71de9
commit
3b6a90000a
@ -48,6 +48,7 @@
|
|||||||
#include <opensc/cardctl.h>
|
#include <opensc/cardctl.h>
|
||||||
#include <opensc/pkcs15.h>
|
#include <opensc/pkcs15.h>
|
||||||
#include <opensc/pkcs15-init.h>
|
#include <opensc/pkcs15-init.h>
|
||||||
|
#include <opensc/keycache.h>
|
||||||
#include <opensc/log.h>
|
#include <opensc/log.h>
|
||||||
#include <opensc/ui.h>
|
#include <opensc/ui.h>
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
@ -1073,7 +1074,7 @@ static int do_delete_crypto_objects(sc_pkcs15_card_t *p15card,
|
|||||||
static int
|
static int
|
||||||
do_delete_objects(struct sc_profile *profile, unsigned int opt_delete_flags)
|
do_delete_objects(struct sc_profile *profile, unsigned int opt_delete_flags)
|
||||||
{
|
{
|
||||||
int r, count = 0;
|
int r = 0, count = 0;
|
||||||
|
|
||||||
set_userpin_ref();
|
set_userpin_ref();
|
||||||
|
|
||||||
@ -1983,7 +1984,7 @@ parse_delete_flags(const char *list)
|
|||||||
};
|
};
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
int len, n, match = 0;
|
int len, n;
|
||||||
|
|
||||||
while (*list == ',')
|
while (*list == ',')
|
||||||
list++;
|
list++;
|
||||||
|
Loading…
Reference in New Issue
Block a user