diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-10-10 11:41:57 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-10-11 17:26:30 +0100 |
commit | f55897af74ac072d3447e5cf513d0f4718b142c7 (patch) | |
tree | 46d9b68f129998ac8c9fbadf098b6be383519f1a /dbus/dbus-address.c | |
parent | e54d56b7b22dfc4a6eccb4e75e6d76e168fe90a0 (diff) |
Use DBUS_ERROR_INIT instead of dbus_error_init wherever it's clearly equivalent
Diffstat (limited to 'dbus/dbus-address.c')
-rw-r--r-- | dbus/dbus-address.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dbus/dbus-address.c b/dbus/dbus-address.c index 0b87b8e6..28e88424 100644 --- a/dbus/dbus-address.c +++ b/dbus/dbus-address.c @@ -698,12 +698,10 @@ dbus_bool_t _dbus_address_test (void) { DBusAddressEntry **entries; - int len; - DBusError error; + int len; + DBusError error = DBUS_ERROR_INIT; int i; - dbus_error_init (&error); - i = 0; while (i < _DBUS_N_ELEMENTS (escape_tests)) { |