Silence a bunch of -Wunused-but-set-variable warnings

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen
2011-04-08 15:44:25 -04:00
parent 23818d1e61
commit 0729260141
23 changed files with 52 additions and 62 deletions

View File

@@ -125,7 +125,6 @@ g_dbus_is_name (const gchar *string)
guint len;
gboolean ret;
const gchar *s;
const gchar *end;
g_return_val_if_fail (string != NULL, FALSE);
@@ -136,7 +135,6 @@ g_dbus_is_name (const gchar *string)
goto out;
s = string;
end = s + len;
if (*s == ':')
{
/* handle unique name */
@@ -248,7 +246,6 @@ g_dbus_is_interface_name (const gchar *string)
guint len;
gboolean ret;
const gchar *s;
const gchar *end;
g_return_val_if_fail (string != NULL, FALSE);
@@ -259,7 +256,6 @@ g_dbus_is_interface_name (const gchar *string)
goto out;
s = string;
end = s + len;
if (G_UNLIKELY (*s == '.'))
{
/* can't start with a . */