diff options
author | rbuj <[email protected]> | 2019-03-12 09:15:20 +0100 |
---|---|---|
committer | rbuj <[email protected]> | 2019-04-12 10:46:34 +0200 |
commit | 558dd907df6d1c6d72a4fa4ac56c5ecf194a6efe (patch) | |
tree | 458640ca4a26345c6997807639e97fe0cf8c97c8 /capplets/appearance/theme-installer.c | |
parent | 11f634c0aff8ff9214f832514ff33aab317e7402 (diff) | |
download | mate-control-center-558dd907df6d1c6d72a4fa4ac56c5ecf194a6efe.tar.bz2 mate-control-center-558dd907df6d1c6d72a4fa4ac56c5ecf194a6efe.tar.xz |
Remove dead store detected by clang
marco-window-manager.c:408:17: warning: Value stored to 'i' is never read
i = 0;
^ ~
theme-installer.c:813:3: warning: Value stored to 'filename' is never read
filename = old_folder;
^ ~~~~~~~~~~
Diffstat (limited to 'capplets/appearance/theme-installer.c')
-rw-r--r-- | capplets/appearance/theme-installer.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/capplets/appearance/theme-installer.c b/capplets/appearance/theme-installer.c index c79704e9..93e1ef0a 100644 --- a/capplets/appearance/theme-installer.c +++ b/capplets/appearance/theme-installer.c @@ -796,8 +796,7 @@ mate_theme_install (GFile *file, } void -mate_theme_installer_run (GtkWindow *parent, - const gchar *filename) +mate_theme_installer_run (GtkWindow *parent) { static gboolean running_theme_install = FALSE; static gchar old_folder[512] = ""; @@ -809,9 +808,6 @@ mate_theme_installer_run (GtkWindow *parent, running_theme_install = TRUE; - if (filename == NULL) - filename = old_folder; - dialog = gtk_file_chooser_dialog_new (_("Select Theme"), parent, GTK_FILE_CHOOSER_ACTION_OPEN, |