From 4e19e331e4012a3c45845c18d4b578493389dba1 Mon Sep 17 00:00:00 2001 From: Otavio Pontes Date: Tue, 16 Jul 2019 20:49:47 -0700 Subject: [PATCH] swupd: Remove unused global Signed-off-by: Otavio Pontes --- src/globals.c | 2 +- src/swupd.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/globals.c b/src/globals.c index 30e65b17..f466811a 100644 --- a/src/globals.c +++ b/src/globals.c @@ -71,7 +71,7 @@ bool wait_for_scripts = false; * swupd-version.01.org and swupd-files.01.org as this enables * different quality of server and control of the servers */ -bool verbose_time = false; +static bool verbose_time = false; bool have_manifest_diskspace = false; /* assume no until checked */ char *version_url = NULL; char *content_url = NULL; diff --git a/src/swupd.h b/src/swupd.h index 1eddfeab..21b1ced9 100644 --- a/src/swupd.h +++ b/src/swupd.h @@ -93,11 +93,9 @@ struct header; extern int allow_insecure_http; extern bool allow_mix_collisions; -extern bool verbose_time; extern bool migrate; extern bool sigcheck; extern bool timecheck; -extern int verbose; extern int update_count; extern int update_skip; extern bool update_complete;