[libgovirt] Remove debug g_warning()



commit c11aa5c022cb1c770557ddd31d4dfc8a587590b1
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Wed Apr 16 18:26:07 2014 +0200

    Remove debug g_warning()

 govirt/ovirt-proxy.c    |    1 -
 govirt/ovirt-resource.c |    3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/govirt/ovirt-proxy.c b/govirt/ovirt-proxy.c
index babb5ce..e92c214 100644
--- a/govirt/ovirt-proxy.c
+++ b/govirt/ovirt-proxy.c
@@ -830,7 +830,6 @@ ovirt_proxy_init(OvirtProxy *self)
                                   (GCallback)ssl_ca_file_changed, NULL);
     self->priv->ssl_ca_file_changed_id = handler_id;
     self->priv->cookie_jar = soup_cookie_jar_new();
-    g_warning("adding cookie jar");
     rest_proxy_add_soup_feature(REST_PROXY(self),
                                 SOUP_SESSION_FEATURE(self->priv->cookie_jar));
 }
diff --git a/govirt/ovirt-resource.c b/govirt/ovirt-resource.c
index 5977d5e..c813ac7 100644
--- a/govirt/ovirt-resource.c
+++ b/govirt/ovirt-resource.c
@@ -537,7 +537,8 @@ static gboolean ovirt_resource_update_async_cb(OvirtProxy *proxy, RestProxyCall
                                                gpointer user_data, GError **error)
 {
     g_return_val_if_fail(REST_IS_PROXY_CALL(call), FALSE);
-    g_warning("foo");
+
+    g_warn_if_reached();
 
     /* if error */
 #if 0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]