From 5fb8a9d1ef348551a5ce99d410598b6fabcfab3e Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Thu, 6 Mar 2014 17:41:35 +0100 Subject: [PATCH] - removed unused variable --- client/systemd-helper.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/client/systemd-helper.cc b/client/systemd-helper.cc index b3efd84f..e7830dc3 100644 --- a/client/systemd-helper.cc +++ b/client/systemd-helper.cc @@ -101,12 +101,10 @@ main(int argc, char** argv) GetOpts::parsed_opts opts = getopts.parse(options); - GetOpts::parsed_opts::const_iterator opt; - - if ((opt = opts.find("timeline")) != opts.end()) + if (opts.find("timeline") != opts.end()) do_timeline = true; - if ((opt = opts.find("cleanup")) != opts.end()) + if (opts.find("cleanup") != opts.end()) do_cleanup = true; try -- 2.47.3