diff options
Diffstat (limited to 'src/gs-window-x11.c')
-rw-r--r-- | src/gs-window-x11.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c index 231d8fc..c3d7495 100644 --- a/src/gs-window-x11.c +++ b/src/gs-window-x11.c @@ -1578,9 +1578,7 @@ keyboard_command_finish (GSWindow *window) if (window->priv->keyboard_pid > 0) { - int exit_status; - - exit_status = wait_on_child (window->priv->keyboard_pid); + wait_on_child (window->priv->keyboard_pid); g_spawn_close_pid (window->priv->keyboard_pid); window->priv->keyboard_pid = 0; @@ -1718,9 +1716,7 @@ gs_window_dialog_finish (GSWindow *window) if (window->priv->lock_pid > 0) { - int exit_status; - - exit_status = wait_on_child (window->priv->lock_pid); + wait_on_child (window->priv->lock_pid); g_spawn_close_pid (window->priv->lock_pid); window->priv->lock_pid = 0; |