From f7f40808c6efed7dc984ee8ec0612294041da26e Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 30 Nov 2010 22:59:16 -0500 Subject: add %w token as install reason --- expac.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/expac.c b/expac.c index 04a9450..528db51 100644 --- a/expac.c +++ b/expac.c @@ -41,7 +41,6 @@ alpm_list_t *dblist = NULL, *targets = NULL; pmdb_t *db_local; bool verbose = false; bool search = false; -bool local = false; const char *format = NULL; const char *timefmt = NULL; const char *listdelim = NULL; @@ -198,7 +197,6 @@ static int parse_options(int argc, char *argv[]) { return(1); } dblist = alpm_list_add(dblist, db_local); - local = true; break; case 'd': delim = optarg; @@ -534,7 +532,6 @@ int main(int argc, char *argv[]) { /* ensure sane defaults */ if (!dblist) { - local = true; dblist = alpm_list_add(dblist, db_local); } delim = delim ? delim : "\n"; -- cgit v1.2.3-70-g09d2