From 28599331e3e0ef7374ac3ac46e67125a4b91e521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Thu, 4 Dec 2014 17:19:41 +0100 Subject: [PATCH] callout: ignore waitpid() return value Coverity: Defect type: CHECKED_RETURN --- callouts/nm-dispatcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/callouts/nm-dispatcher.c b/callouts/nm-dispatcher.c index dafe4f6e63..0cd2531dda 100644 --- a/callouts/nm-dispatcher.c +++ b/callouts/nm-dispatcher.c @@ -296,7 +296,7 @@ script_timeout_cb (gpointer user_data) if (kill (script->pid, 0) == 0) kill (script->pid, SIGKILL); - waitpid (script->pid, NULL, 0); + (void) waitpid (script->pid, NULL, 0); script->error = g_strdup_printf ("Script '%s' timed out.", script->script); script->result = DISPATCH_RESULT_TIMEOUT;