summaryrefslogtreecommitdiff
path: root/src/pacman/pacman-conf.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2019-03-02 18:40:19 +1000
committerAllan McRae <allan@archlinux.org>2019-03-07 11:12:12 +1000
commite7bb0f8824a916c1537dd83735cd8aeccdcd0f3f (patch)
treeb989bc225af94613c4eab48c58b9a1c8242806e8 /src/pacman/pacman-conf.c
parent40391c564a97b10362ee7cbcf07faac03549d2ca (diff)
downloadpacman-e7bb0f8824a916c1537dd83735cd8aeccdcd0f3f.tar.xz
Make pacman forget deltas exist
Dummy callbacks are still present to prevent compiler warnings until libalpm is delta free. Also remove Delta parsing from pacman.conf. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/pacman-conf.c')
-rw-r--r--src/pacman/pacman-conf.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/pacman/pacman-conf.c b/src/pacman/pacman-conf.c
index 56196f79..df874029 100644
--- a/src/pacman/pacman-conf.c
+++ b/src/pacman/pacman-conf.c
@@ -125,14 +125,6 @@ static void list_repos(void)
}
}
-static void show_float(const char *directive, float val)
-{
- if(verbose) {
- printf("%s = ", directive);
- }
- printf("%f%c", val, sep);
-}
-
static void show_bool(const char *directive, short unsigned int val)
{
if(val) {
@@ -269,8 +261,6 @@ static void dump_config(void)
show_bool("DisableDownloadTimeout", config->disable_dl_timeout);
show_bool("ILoveCandy", config->chomp);
- show_float("UseDelta", config->deltaratio);
-
show_cleanmethod("CleanMethod", config->cleanmethod);
show_siglevel("SigLevel", config->siglevel, 0);
@@ -380,9 +370,6 @@ static int list_directives(void)
} else if(strcasecmp(i->data, "DisableDownloadTimeout") == 0) {
show_bool("DisableDownloadTimeout", config->disable_dl_timeout);
- } else if(strcasecmp(i->data, "UseDelta") == 0) {
- show_float("UseDelta", config->deltaratio);
-
} else if(strcasecmp(i->data, "CleanMethod") == 0) {
show_cleanmethod("CleanMethod", config->cleanmethod);