[seed] [dbus] Fix two small (stylistic) warnings in DBUS extension module
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] [dbus] Fix two small (stylistic) warnings in DBUS extension module
- Date: Fri, 19 Jun 2009 22:40:26 -0400 (EDT)
commit e6728b422f97eae1b8154cee6bbfc55055b7013c
Author: Tim Horton <hortont svn gnome org>
Date: Fri Jun 19 22:40:01 2009 -0400
[dbus] Fix two small (stylistic) warnings in DBUS extension module
modules/dbus/dbus-exports.c | 2 +-
modules/dbus/util/dbus.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/dbus/dbus-exports.c b/modules/dbus/dbus-exports.c
index fb15d1a..61b68bd 100644
--- a/modules/dbus/dbus-exports.c
+++ b/modules/dbus/dbus-exports.c
@@ -678,7 +678,7 @@ static void
exports_finalize (SeedObject obj)
{
Exports *priv;
- BigDBusConnectFuncs const *connect_funcs;
+ BigDBusConnectFuncs const *connect_funcs = NULL;
priv = seed_object_get_private (obj);
if (priv == NULL)
diff --git a/modules/dbus/util/dbus.c b/modules/dbus/util/dbus.c
index d5ba711..0b95c1c 100644
--- a/modules/dbus/util/dbus.c
+++ b/modules/dbus/util/dbus.c
@@ -624,7 +624,7 @@ info_free(BigDBusInfo *info)
info->name_ownership_monitors->data);
}
- while (value = g_hash_table_lookup(info->name_watches, &key))
+ while ((value = g_hash_table_lookup(info->name_watches, &key)))
{
BigNameWatch *watch = value;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]