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
This commit is contained in:
Vasiliy Balyasnyy 2013-09-16 15:09:47 +04:00 committed by Simon McVittie
parent 01a0bba9f7
commit 61889c8c11

View file

@ -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)