diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-08-10 13:55:02 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-08-10 15:50:18 +0200 |
commit | 890a9e54be5b96d55f05d3221991a17bbd605a68 (patch) | |
tree | 531b2b4d9c33cedf2d59a95a264e77991b1012dd /src | |
parent | 15bb7656a53d28003aebc8a829cdd9a025f2e9f1 (diff) | |
download | weechat-890a9e54be5b96d55f05d3221991a17bbd605a68.zip |
core: remove dead assignment in function hook_process_child
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-hook.c | 3 |
1 files changed, 1 insertions, 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); |