diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-11-30 14:05:19 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-11-30 14:05:19 -0500 |
commit | 9c3def4bcc348f14f21c9f694b7dde53c7c46d42 (patch) | |
tree | c0937d40ee49955601b007b708b7bb0e7267e969 /src | |
parent | 4d5166d1833e42d81b854374aa6e73f83a67a70e (diff) |
Cosmetic: Remove a useless assignment
Coverity flagged this as an unused value, and it is correct.
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon.c b/src/daemon.c index 4d6f3ab..74475a2 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -411,7 +411,7 @@ entry_generator_cachedir (GHashTable *users, /* First iteration */ if (*state == NULL) { - *state = dir = g_dir_open (USERDIR, 0, &error); + *state = g_dir_open (USERDIR, 0, &error); if (error != NULL) { if (!g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_NOENT)) g_warning ("couldn't list user cache directory: %s", USERDIR); |