summaryrefslogtreecommitdiff
path: root/dbus/dbus-string.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2009-04-21 12:52:22 -0400
committerColin Walters <walters@verbum.org>2009-05-06 12:51:18 -0400
commiteb3b99e7c610988823804f5e6c92aa13459605c7 (patch)
treecb5d81dd317a7abea58141a21448b1b052523b6c /dbus/dbus-string.c
parentda75989b3918508058ed056ae9e2092e14023ebc (diff)
downloaddbus-eb3b99e7c610988823804f5e6c92aa13459605c7.tar.gz
Bug 19502 - Sparse warning cleanups
This patch makes various things that should be static static, corrects some "return FALSE" where it should be NULL, etc. Signed-off-by: Colin Walters <walters@verbum.org>
Diffstat (limited to 'dbus/dbus-string.c')
-rw-r--r--dbus/dbus-string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-string.c b/dbus/dbus-string.c
index 6b9b2bfe..85812c48 100644
--- a/dbus/dbus-string.c
+++ b/dbus/dbus-string.c
@@ -1245,7 +1245,7 @@ _dbus_string_append_printf_valist (DBusString *str,
va_list args)
{
int len;
- va_list args_copy;
+ va_list args_copy = 0;
DBUS_STRING_PREAMBLE (str);