Changeset 541 for trunk/src/sh_dbIO.c


Ignore:
Timestamp:
Jan 16, 2019, 11:57:48 PM (6 years ago)
Author:
katerina
Message:

Fix for ticket #433 (coding standardisation).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_dbIO.c

    r538 r541  
    460460              if (1 == 0)
    461461                hexdump((unsigned char *)&old_struct, sizeof(old_struct));
    462               memset(&try_struct, '\0', sizeof(try_struct));
     462              memset(&try_struct, 0, sizeof(try_struct));
    463463              if (!memcmp(&old_struct, &try_struct, sizeof(try_struct)))
    464464                return 0; /* NULL read */
     
    14371437         
    14381438  if (!buf) {
    1439     memset(&p, '\0', sizeof(sh_filestore_t));
     1439    memset(&p, 0, sizeof(sh_filestore_t));
    14401440  }
    14411441
Note: See TracChangeset for help on using the changeset viewer.