From 890a9e54be5b96d55f05d3221991a17bbd605a68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 10 Aug 2014 13:55:02 +0200 Subject: [PATCH] core: remove dead assignment in function hook_process_child --- src/core/wee-hook.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c index 0d9f9d3a6..60d212e0e 100644 --- a/src/core/wee-hook.c +++ b/src/core/wee-hook.c @@ -1511,7 +1511,7 @@ hook_process_child (struct t_hook *hook_process) (void) f; } - rc = EXIT_SUCCESS; + rc = EXIT_FAILURE; if (strncmp (HOOK_PROCESS(hook_process, command), "url:", 4) == 0) { @@ -1599,7 +1599,6 @@ hook_process_child (struct t_hook *hook_process) string_free_split (exec_args); fprintf (stderr, "Error with command '%s'\n", HOOK_PROCESS(hook_process, command)); - rc = EXIT_FAILURE; } fflush (stdout);