[glib] Silence a compiler warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Silence a compiler warning
- Date: Wed, 15 Jun 2011 01:07:22 +0000 (UTC)
commit 28008138c3ef88ad7f44055580f2b19796b9c29f
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jun 14 20:15:04 2011 -0400
Silence a compiler warning
gio/gdbusaddress.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdbusaddress.c b/gio/gdbusaddress.c
index 45d6fd0..feb098b 100644
--- a/gio/gdbusaddress.c
+++ b/gio/gdbusaddress.c
@@ -1289,7 +1289,7 @@ g_dbus_address_get_for_bus_sync (GBusType bus_type,
{
g_print ("GDBus-debug:Address: Cannot look-up address bus type `%s': %s\n",
_g_dbus_enum_to_string (G_TYPE_BUS_TYPE, bus_type),
- local_error->message);
+ local_error ? local_error->message : "");
}
_g_dbus_debug_print_unlock ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]