fixed uninitialized value
This commit is contained in:
@@ -863,7 +863,7 @@ static void *interrupt (void *param)
|
||||
}
|
||||
pthread_cleanup_push (close_fd, &status_fd);
|
||||
|
||||
int result;
|
||||
int result = 0;
|
||||
RDR_to_PC_NotifySlotChange_t *slotchange;
|
||||
do {
|
||||
/* original LinuxThreads cancelation didn't work right */
|
||||
|
||||
@@ -329,7 +329,7 @@ npa_sm_start(sc_card_t *card, EAC_CTX *eac_ctx,
|
||||
const unsigned char *id_icc, size_t id_icc_length)
|
||||
{
|
||||
int r;
|
||||
struct iso_sm_ctx *sctx;
|
||||
struct iso_sm_ctx *sctx = NULL;
|
||||
|
||||
if (!eac_ctx || !eac_ctx->key_ctx) {
|
||||
r = SC_ERROR_INVALID_ARGUMENTS;
|
||||
|
||||
Reference in New Issue
Block a user