Ignore:
Timestamp:
12/17/10 10:56:46 (13 years ago)
Author:
dingo35
Message:

icc_async.c : Initializing some output-variables to prevent compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/csctapi/icc_async.c

    r4132 r4133  
    107107            //copy physical device name and file handle to other slots
    108108            struct s_reader *rdr;
     109cs_log("DINGO: first_reader = %p", first_reader);
    109110            for (rdr=first_reader; rdr ; rdr=rdr->next) //copy handle to other slots
    110111                if (rdr->typ == R_SC8in1 && rdr != reader) { //we have another sc8in1 reader
     
    203204int ICC_Async_GetStatus (struct s_reader *reader, int * card)
    204205{
    205     int in;
     206    int in=0;
    206207   
    207208//  printf("\n%08X\n", (int)ifd->io);
     
    948949    if ((reader->protocol_type == ATR_PROTOCOL_TYPE_T1) && (reader->ifsc != DEFAULT_IFSC)) {
    949950        unsigned char rsp[CTA_RES_LEN];
    950         unsigned short * lr;
     951        unsigned short * lr = 0;
    951952        unsigned char tmp[] = { 0x21, 0xC1, 0x01, 0x00, 0x00 };
    952953        tmp[3] = reader->ifsc; // Information Field size
Note: See TracChangeset for help on using the changeset viewer.