westcos-tool: remove compiler warnings

westcos-tool.c: In function ‘main’:
westcos-tool.c:375: warning: unused variable ‘lecteur’
westcos-tool.c:373: warning: unused variable ‘card_presente’
westcos-tool.c:372: warning: unused variable ‘p’
westcos-tool.c:371: warning: unused variable ‘i’
westcos-tool.c: At top level:
westcos-tool.c:43: warning: ‘version’ defined but not used
westcos-tool.c:45: warning: ‘nom_card’ defined but not used
westcos-tool.c:103: warning: ‘no_lecteur’ defined but not used

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4420 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
martin 2010-06-16 14:11:39 +00:00
parent ea7a0ac9a1
commit df64d39f68
1 changed files with 0 additions and 10 deletions

View File

@ -40,10 +40,6 @@
#include "util.h"
static const char *version ="0.0.7";
static const char *nom_card = "WESTCOS";
static const char *app_name = "westcos-tool";
static const struct option options[] = {
@ -100,8 +96,6 @@ static char *cert = NULL;
static int keylen = 0;
static int no_lecteur = -1;
static int new_pin = 0;
static int unlock = 0;
@ -368,11 +362,7 @@ out:
int main(int argc, char *argv[])
{
int r, c, long_optind = 0;
int i = 1;
char *p;
int card_presente = 0;
sc_context_param_t ctx_param;
sc_reader_t *lecteur = NULL;
sc_card_t *card = NULL;
sc_context_t *ctx = NULL;
sc_file_t *file = NULL;