From: Arvin Schnell Date: Thu, 6 Mar 2014 16:41:35 +0000 (+0100) Subject: - removed unused variable X-Git-Tag: v0.2.2~12^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=5fb8a9d1ef348551a5ce99d410598b6fabcfab3e;p=thirdparty%2Fsnapper.git - removed unused variable --- 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