summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/housekeeping/msd-ldsm-dialog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/housekeeping/msd-ldsm-dialog.c b/plugins/housekeeping/msd-ldsm-dialog.c
index f3a614f..7d85c8c 100644
--- a/plugins/housekeeping/msd-ldsm-dialog.c
+++ b/plugins/housekeeping/msd-ldsm-dialog.c
@@ -161,8 +161,7 @@ ignore_check_button_toggled_cb (GtkToggleButton *button,
settings_list = g_settings_get_strv (settings, SETTINGS_IGNORE_PATHS);
for (i = 0; i < g_strv_length (settings_list); i++) {
- if (settings_list[i] != NULL)
- ignore_paths = g_slist_prepend (ignore_paths, g_strdup (settings_list[i]));
+ ignore_paths = g_slist_prepend (ignore_paths, g_strdup (settings_list[i]));
}
g_strfreev (settings_list);