summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-02-20 20:59:35 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-02-20 20:59:35 +0000
commit910fd6a687db751a7b95829c2b028d6c5d60c3e8 (patch)
tree1693320bb77a116af58449ce328c9d24144433f9 /src
parent9d4713e2a3b85f3d9d50d543928847f69c395dc7 (diff)
downloadpacman-910fd6a687db751a7b95829c2b028d6c5d60c3e8.tar.xz
the library must provide default values for main options
Diffstat (limited to 'src')
-rw-r--r--src/pacman/pacman.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 82765342..73f8c637 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -148,12 +148,6 @@ int main(int argc, char *argv[])
if(parseconfig(config->configfile, config) == -1) {
cleanup(1);
}
- if(config->dbpath == NULL) {
- config->dbpath = strdup(PM_DBPATH);
- }
- if(config->cachedir == NULL) {
- config->cachedir = strdup(PM_CACHEDIR);
- }
/* set library parameters */
if(alpm_set_option(PM_OPT_LOGMASK, (long)config->debug) == -1) {