diff options
Diffstat (limited to 'common/gdm-settings-desktop-backend.c')
-rw-r--r-- | common/gdm-settings-desktop-backend.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/common/gdm-settings-desktop-backend.c b/common/gdm-settings-desktop-backend.c index b068c248..2d8c0b4e 100644 --- a/common/gdm-settings-desktop-backend.c +++ b/common/gdm-settings-desktop-backend.c @@ -173,7 +173,6 @@ static void save_settings (GdmSettingsDesktopBackend *backend) { GError *local_error; - gboolean res; char *contents; gsize length; @@ -192,10 +191,10 @@ save_settings (GdmSettingsDesktopBackend *backend) } local_error = NULL; - res = g_file_set_contents (backend->priv->filename, - contents, - length, - &local_error); + g_file_set_contents (backend->priv->filename, + contents, + length, + &local_error); if (local_error != NULL) { g_warning ("Unable to save settings: %s", local_error->message); g_error_free (local_error); |