Changeset 3499

Show
Ignore:
Timestamp:
04/28/08 09:42:22 (4 months ago)
Author:
ludovic.rousseau
Message:

rutoken_new_file(): initialize sec_attr

pkcs15-rutoken.c:372: warning: 'sec_attr' may be used uninitialized in
this function

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/pkcs15init/pkcs15-rutoken.c

    r3478 r3499  
    370370        int ret = SC_SUCCESS, id, ret_s; 
    371371        sc_path_t path; 
    372         u8 const *sec_attr; 
     372        u8 const *sec_attr = NULL; 
    373373 
    374374        if (!profile || !file || *file != NULL