Changeset 273 for trunk/lib


Ignore:
Timestamp:
07/21/11 22:05:25 (13 years ago)
Author:
tim
Message:

allowed compiler to be specified via CC environment variable
fixed 3 uninitialized variable problems discovered by clang source analyzer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/regfi.c

    r272 r273  
    796796                                          uint32_t max_size, bool strict)
    797797{
    798   REGFI_SUBKEY_LIST* ret_val;
     798  REGFI_SUBKEY_LIST* ret_val = NULL;
    799799  uint32_t i, cell_length, length, elem_size, read_len;
    800800  uint8_t* elements = NULL;
     
    10871087                                        uint32_t num_values, bool strict)
    10881088{
    1089   REGFI_VALUE_LIST* ret_val;
     1089  REGFI_VALUE_LIST* ret_val = NULL;
    10901090  uint32_t i, cell_length, length, read_len;
    10911091  bool unalloc;
Note: See TracChangeset for help on using the changeset viewer.