summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasiliy Balyasnyy <v.balyasnyy@samsung.com>2013-09-16 15:09:47 +0400
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-16 13:58:31 +0100
commit61889c8c11aa60928bf5bd317c4e1f2d97b77bf1 (patch)
tree6c1ba1fa139deb21ad47f80579557a3ed4fdc5f4
parent01a0bba9f76f125ba3616e8ddb131a127b863273 (diff)
downloaddbus-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.c2
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)