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-auth-util.c | |
parent | e54d56b7b22dfc4a6eccb4e75e6d76e168fe90a0 (diff) |
Use DBUS_ERROR_INIT instead of dbus_error_init wherever it's clearly equivalent
Diffstat (limited to 'dbus/dbus-auth-util.c')
-rw-r--r-- | dbus/dbus-auth-util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dbus/dbus-auth-util.c b/dbus/dbus-auth-util.c index 45627896..e5019042 100644 --- a/dbus/dbus-auth-util.c +++ b/dbus/dbus-auth-util.c @@ -44,7 +44,7 @@ process_test_subdir (const DBusString *test_base_dir, DBusString filename; DBusDirIter *dir; dbus_bool_t retval; - DBusError error; + DBusError error = DBUS_ERROR_INIT; retval = FALSE; dir = NULL; @@ -65,7 +65,6 @@ process_test_subdir (const DBusString *test_base_dir, if (!_dbus_string_init (&filename)) _dbus_assert_not_reached ("didn't allocate filename string\n"); - dbus_error_init (&error); dir = _dbus_directory_open (&test_directory, &error); if (dir == NULL) { |