diff options
author | Colin Walters <walters@verbum.org> | 2008-12-19 18:54:59 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2008-12-19 20:03:47 -0500 |
commit | f8d2ef4aca7d74788b9c03272e9bb536254a8ac6 (patch) | |
tree | 8f73c11a718a20151d814cbd39ef96ae52d15893 /dbus/dbus-sysdeps-unix.c | |
parent | dc77c213742d2a373e3ed134168e4377e7c99a61 (diff) |
Various compiler warning fixes
Diffstat (limited to 'dbus/dbus-sysdeps-unix.c')
-rw-r--r-- | dbus/dbus-sysdeps-unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index 01516a1b..29d234a4 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -758,7 +758,7 @@ _dbus_connect_tcp_socket (const char *host, const char *family, DBusError *error) { - int saved_errno; + int saved_errno = 0; int fd = -1, res; struct addrinfo hints; struct addrinfo *ai, *tmp; |