card-authentic.c: Initialize variables and make it build
Ammends: #1205
This commit is contained in:
parent
0997c33a30
commit
58cd9aaeb6
|
@ -813,7 +813,7 @@ authentic_read_binary(struct sc_card *card, unsigned int idx,
|
|||
struct sc_context *ctx = card->ctx;
|
||||
struct sc_apdu apdu;
|
||||
size_t sz, rest, ret_count = 0;
|
||||
int rv;
|
||||
int rv = SC_SUCCESS;
|
||||
|
||||
LOG_FUNC_CALLED(ctx);
|
||||
sc_log(ctx,
|
||||
|
@ -859,7 +859,7 @@ authentic_write_binary(struct sc_card *card, unsigned int idx,
|
|||
struct sc_context *ctx = card->ctx;
|
||||
struct sc_apdu apdu;
|
||||
size_t sz, rest;
|
||||
int rv;
|
||||
int rv = SC_SUCCESS;
|
||||
|
||||
LOG_FUNC_CALLED(ctx);
|
||||
sc_log(ctx,
|
||||
|
@ -902,7 +902,7 @@ authentic_update_binary(struct sc_card *card, unsigned int idx,
|
|||
struct sc_context *ctx = card->ctx;
|
||||
struct sc_apdu apdu;
|
||||
size_t sz, rest;
|
||||
int rv;
|
||||
int rv = SC_SUCCESS;
|
||||
|
||||
LOG_FUNC_CALLED(ctx);
|
||||
sc_log(ctx,
|
||||
|
|
Loading…
Reference in New Issue