index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/conf.c | 3 |
diff --git a/src/pacman/conf.c b/src/pacman/conf.c index 3b475151..fe6d6971 100644 --- a/src/pacman/conf.c +++ b/src/pacman/conf.c @@ -1117,8 +1117,7 @@ int setdefaults(config_t *c) int parseconfigfile(const char *file) { - struct section_t section; - memset(§ion, 0, sizeof(struct section_t)); + struct section_t section = {0}; pm_printf(ALPM_LOG_DEBUG, "config: attempting to read file %s\n", file); return parse_ini(file, _parse_directive, §ion); } |