Mercurial > emacs
changeset 106596:cf8766d3e8ed
* dbusbind.c (xd_retrieve_arg): Reorder declarations in order to
avoid compiler warnings. (Bug #5217).
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Tue, 15 Dec 2009 05:59:39 +0000 |
parents | 1f80a23c59eb |
children | b0e5aae20733 |
files | src/ChangeLog src/dbusbind.c |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Tue Dec 15 05:31:08 2009 +0000 +++ b/src/ChangeLog Tue Dec 15 05:59:39 2009 +0000 @@ -1,3 +1,8 @@ +2009-12-15 Michael Albinus <michael.albinus@gmx.de> + + * dbusbind.c (xd_retrieve_arg): Reorder declarations in order to + avoid compiler warnings. (Bug #5217). + 2009-12-14 Kenichi Handa <handa@m17n.org> * coding.c (decode_coding_iso_2022): Ignore ISO_CODE_SS2_7 (0x19)
--- a/src/dbusbind.c Tue Dec 15 05:31:08 2009 +0000 +++ b/src/dbusbind.c Tue Dec 15 05:59:39 2009 +0000 @@ -688,10 +688,10 @@ { Lisp_Object result; struct gcpro gcpro1; + DBusMessageIter subiter; + int subtype; result = Qnil; GCPRO1 (result); - DBusMessageIter subiter; - int subtype; dbus_message_iter_recurse (iter, &subiter); while ((subtype = dbus_message_iter_get_arg_type (&subiter)) != DBUS_TYPE_INVALID)