dbus-sysdeps-unix.c: undeclared ret2 variable if HAVE_WRITEV undefined.
authorVasiliy Balyasnyy <v.balyasnyy@samsung.com>
Mon, 16 Sep 2013 11:09:47 +0000 (15:09 +0400)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 16 Sep 2013 12:58:31 +0000 (13:58 +0100)
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69409

dbus/dbus-sysdeps-unix.c

index 92ce00e..f47a5a2 100644 (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)