]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- removed unused variable 59/head
authorArvin Schnell <aschnell@suse.de>
Thu, 6 Mar 2014 16:41:35 +0000 (17:41 +0100)
committerArvin Schnell <aschnell@suse.de>
Thu, 6 Mar 2014 16:41:35 +0000 (17:41 +0100)
client/systemd-helper.cc

index b3efd84f6baf2ab0d0ffeeb2203cc992387fa082..e7830dc38f64fae7ab1f51b692c4e4cefbd8c2c5 100644 (file)
@@ -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