From fe2813b8429aba9d07edf774abd36c0bb6759f4a Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 3 Apr 2017 11:43:18 +0100 Subject: [PATCH] gdbus-tool: Drop a few lines of dead code request_completion is checked several blocks higher in the function. Spotted by Coverity. Coverity ID: 1373215 Signed-off-by: Philip Withnall --- gio/gdbus-tool.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gio/gdbus-tool.c b/gio/gdbus-tool.c index 3e34b9872..e4d40ffb9 100644 --- a/gio/gdbus-tool.c +++ b/gio/gdbus-tool.c @@ -2136,10 +2136,6 @@ handle_wait (gint *argc, goto out; } - /* All done with completion now */ - if (request_completion) - goto out; - /* Start the prerequisite service if needed. */ if (activate_service != NULL) {