[glib] gdbus-tool: Drop a few lines of dead code
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gdbus-tool: Drop a few lines of dead code
- Date: Mon, 3 Apr 2017 10:54:09 +0000 (UTC)
commit fe2813b8429aba9d07edf774abd36c0bb6759f4a
Author: Philip Withnall <withnall endlessm com>
Date: Mon Apr 3 11:43:18 2017 +0100
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 <withnall endlessm com>
gio/gdbus-tool.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gio/gdbus-tool.c b/gio/gdbus-tool.c
index 3e34b98..e4d40ff 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]