]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- coding style 1074/head
authorArvin Schnell <aschnell@suse.de>
Thu, 18 Dec 2025 09:43:47 +0000 (10:43 +0100)
committerArvin Schnell <aschnell@suse.de>
Thu, 18 Dec 2025 09:43:47 +0000 (10:43 +0100)
client/snbk/Shell.cc

index 9cf3878449b19f13c10e04fd523795b48f925201..1c41ab697b8cdd9a7e7a5088d182eed251ea8667 100644 (file)
@@ -57,9 +57,11 @@ namespace snapper
        }
 
 
-       string wrap_shell_args(const Shell& shell, const SystemCmd::Args& args)
+       string
+       wrap_shell_args(const Shell& shell, const SystemCmd::Args& args)
        {
-           string tmp = quote(args);
+           const string tmp = quote(args);
+
            switch (shell.mode)
            {
                case Shell::Mode::DIRECT:
@@ -99,6 +101,7 @@ namespace snapper
        __builtin_unreachable();
     }
 
+
     SystemCmd::Args
     shellify_pipe(const Shell& shell1, const SystemCmd::Args& args1,
                  const Shell& shell2, const SystemCmd::Args& args2)