projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01a0bba
)
dbus-sysdeps-unix.c: undeclared ret2 variable if HAVE_WRITEV undefined.
author
Vasiliy Balyasnyy
<v.balyasnyy@samsung.com>
Mon, 16 Sep 2013 11:09:47 +0000
(15:09 +0400)
committer
Simon 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
patch
|
blob
|
history
diff --git
a/dbus/dbus-sysdeps-unix.c
b/dbus/dbus-sysdeps-unix.c
index
92ce00e
..
f47a5a2
100644
(file)
--- 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)