diff options
author | Vasiliy Balyasnyy <v.balyasnyy@samsung.com> | 2013-09-16 15:09:47 +0400 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-16 13:58:31 +0100 |
commit | 61889c8c11aa60928bf5bd317c4e1f2d97b77bf1 (patch) | |
tree | 6c1ba1fa139deb21ad47f80579557a3ed4fdc5f4 | |
parent | 01a0bba9f76f125ba3616e8ddb131a127b863273 (diff) | |
download | dbus-61889c8c11aa60928bf5bd317c4e1f2d97b77bf1.tar.gz |
dbus-sysdeps-unix.c: undeclared ret2 variable if HAVE_WRITEV undefined.
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69409
-rw-r--r-- | dbus/dbus-sysdeps-unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index 92ce00ea..f47a5a2b 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -736,7 +736,7 @@ _dbus_write_two (int fd, } #else /* HAVE_WRITEV */ { - int ret1; + int ret1, ret2; ret1 = _dbus_write (fd, buffer1, start1, len1); if (ret1 == len1 && buffer2 != NULL) |