From c9d06adc5f8252eb3d2a90570d65afd0fd4c891b Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Sat, 17 Dec 2011 21:43:37 +0100 Subject: some static code analysis stuff (cppcheck warnings) (bzr r10779) --- src/extension/implementation/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/extension/implementation/script.cpp') diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index 08624aff0..0a0282284 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -971,7 +971,7 @@ int Script::execute (const std::list &in_command, NULL, // STDIN &stdout_pipe, // STDOUT &stderr_pipe); // STDERR - } catch (Glib::Error e) { + } catch (Glib::Error &e) { printf("Can't Spawn!!! spawn returns: %s\n", e.what().data()); return 0; } -- cgit v1.2.3