Changeset 864 for releases

Show
Ignore:
Timestamp:
04/25/06 21:51:43 (3 years ago)
Author:
aj
Message:

remove unused variable.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • releases/openct-0.6.7/src/ctapi/ctapi.c

    r779 r864  
    548548        ct_handle *h; 
    549549        ct_info_t info; 
    550         ct_lock_handle lock; 
    551550        int i; 
    552551 
     
    561560        ct->ctn = ctn; 
    562561        ct->h = h; 
    563         ct->lock = lock; 
    564562        ct->next = cardTerminals; 
    565563        cardTerminals = ct; 
     
    591589        ct->hoststatus.gen = hoststatus; 
    592590        ct->hoststatus.dir[0] = &ct->hoststatus; 
    593         if (ct_card_lock(h, 0, IFD_LOCK_EXCLUSIVE, &lock) < 0) { 
     591        if (ct_card_lock(h, 0, IFD_LOCK_EXCLUSIVE, &ct->lock) < 0) { 
    594592                CT_close(ctn); 
    595593                return ERR_HTSI;