fixed uninitialized value

This commit is contained in:
Frank Morgner
2015-01-25 03:23:16 +01:00
parent 740ad86e51
commit f92d750b39
2 changed files with 2 additions and 2 deletions

View File

@@ -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 */

View File

@@ -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;