summaryrefslogtreecommitdiff
path: root/src/pacman
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-09-02 12:27:32 -0500
committerDan McGee <dan@archlinux.org>2008-09-03 09:36:31 -0500
commitda933c223eedb66c51b4a48b6ab0ce8fcb344b5c (patch)
treed6fd702a500822d35bffc9f9d7f093f5031ff2f4 /src/pacman
parent1c47500ea6d41bf9354155fca2e7c83fca368e1d (diff)
Remove unnecessary initialization in new functions
We don't need to zero things out, we are already using calloc for this purpose. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman')
-rw-r--r--src/pacman/conf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index 48c927bf..5853facc 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -44,10 +44,6 @@ config_t *config_new(void)
newconfig->logmask = PM_LOG_ERROR | PM_LOG_WARNING;
/* CONFFILE is defined at compile-time */
newconfig->configfile = strdup(CONFFILE);
- newconfig->rootdir = NULL;
- newconfig->dbpath = NULL;
- newconfig->logfile = NULL;
- newconfig->syncfirst = NULL;
return(newconfig);
}