summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-11-30 22:59:16 -0500
committerDave Reisner <d@falconindy.com>2010-11-30 22:59:16 -0500
commitf7f40808c6efed7dc984ee8ec0612294041da26e (patch)
treedf6f3534cbf04b0ee32be8bb8bfd886fddbe0b9e
parentd35f8eb3d74f54f9ae146d6d17c2097705540ddf (diff)
downloadexpac-f7f40808c6efed7dc984ee8ec0612294041da26e.tar.xz
add %w token as install reason
-rw-r--r--expac.c3
1 files changed, 0 insertions, 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";