[glib/portal] Remove an extraneous casts
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/portal] Remove an extraneous casts
- Date: Wed, 6 Jul 2016 23:52:45 +0000 (UTC)
commit 9d6b3d729fd66cec3e57cb0aeb5532c411d79ada
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 6 19:50:08 2016 -0400
Remove an extraneous casts
Spotted by Cosimo.
gio/gproxyresolverportal.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gproxyresolverportal.c b/gio/gproxyresolverportal.c
index d1a7c3d..e19ce35 100644
--- a/gio/gproxyresolverportal.c
+++ b/gio/gproxyresolverportal.c
@@ -92,7 +92,7 @@ g_proxy_resolver_portal_lookup (GProxyResolver *proxy_resolver,
if (!resolver->network_available)
{
- g_strfreev ((gchar **)proxy);
+ g_strfreev (proxy);
proxy = g_strdupv ((gchar **)no_proxy);
}
@@ -131,7 +131,7 @@ g_proxy_resolver_portal_lookup_finish (GProxyResolver *proxy_resolver,
if (!resolver->network_available)
{
- g_strfreev ((gchar **)proxy);
+ g_strfreev (proxy);
proxy = g_strdupv ((gchar **)no_proxy);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]