diff options
author | eXeC001er <execooler@gmail.com> | 2011-11-11 11:33:23 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-01-04 17:52:11 +0000 |
commit | f50ea3140ed50ac1eb0f6ae51aebf0586f655c6f (patch) | |
tree | 77f35e0bfcafe4da2723ffa4337b4ddfa95cc73f | |
parent | 5df8c3db12590edd68e968975a335da9d0415e5a (diff) |
Remove some dead code related to fd.o #37258
This would now just attempt to close fd -1, which is useless.
[commit message added by smcv]
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37258
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r-- | dbus/dbus-sysdeps-unix.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index 98667f24..1a8f6fc2 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -1216,7 +1216,6 @@ _dbus_connect_tcp_socket_with_nonce (const char *host, _dbus_error_from_errno (errno), "Failed to lookup host/port: \"%s:%s\": %s (%d)", host, port, gai_strerror(res), res); - _dbus_close (fd, NULL); return -1; } |