Fix -Werror=declaration-after-statement build failure on Solaris
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Fri, 11 Aug 2017 01:50:36 +0000 (18:50 -0700)
committerSimon McVittie <smcv@debian.org>
Tue, 15 Aug 2017 16:21:00 +0000 (12:21 -0400)
commit85c55e0c63ac643f7e35d8bcec044b20d0e29500
tree768c3f9dc43a07fde38cb7c624cb2af59c71297c
parent81966a5252489f11d3a7f48aa7247b9029935c2f
Fix -Werror=declaration-after-statement build failure on Solaris

dbus-sysdeps-unix.c: In function â€˜_dbus_read_credentials_socket’:
dbus-sysdeps-unix.c:2061:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
         adt_session_data_t *adth = NULL;
         ^

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=102145
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Reviewed-by: Simon McVittie <smcv@collabora.com>
dbus/dbus-sysdeps-unix.c