[gnome-builder] jsonrpc: remove warning
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] jsonrpc: remove warning
- Date: Sat, 18 Mar 2017 09:30:17 +0000 (UTC)
commit cd40467342aaaf7ee27b773ab6baf7b1cd0bc842
Author: Christian Hergert <chergert redhat com>
Date: Sat Mar 18 02:16:06 2017 -0700
jsonrpc: remove warning
This isn't really needed, we catch the error in other places.
contrib/jsonrpc-glib/jsonrpc-client.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/contrib/jsonrpc-glib/jsonrpc-client.c b/contrib/jsonrpc-glib/jsonrpc-client.c
index 9032480..3ec9732 100644
--- a/contrib/jsonrpc-glib/jsonrpc-client.c
+++ b/contrib/jsonrpc-glib/jsonrpc-client.c
@@ -229,14 +229,6 @@ jsonrpc_client_panic (JsonrpcClient *self,
priv->failed = TRUE;
- /*
- * Ignore warning() on a few common cases that happen when we close the
- * underlying socket/pipe/etc.
- */
- if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CLOSED) &&
- !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_BROKEN_PIPE))
- g_warning ("%s(): %s", G_STRFUNC, error->message);
-
jsonrpc_client_close (self, NULL, NULL);
/* Steal the tasks so that we don't have to worry about reentry. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]