1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 17:23:15 +02:00

core: remove dead assignment in function hook_process_child

This commit is contained in:
Sébastien Helleu
2014-08-10 13:55:02 +02:00
parent 15bb7656a5
commit 890a9e54be
+1 -2
View File
@@ -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);