summaryrefslogtreecommitdiff
path: root/capplets/appearance/appearance-themes.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-12 09:15:20 +0100
committerrbuj <[email protected]>2019-04-12 10:46:34 +0200
commit558dd907df6d1c6d72a4fa4ac56c5ecf194a6efe (patch)
tree458640ca4a26345c6997807639e97fe0cf8c97c8 /capplets/appearance/appearance-themes.c
parent11f634c0aff8ff9214f832514ff33aab317e7402 (diff)
downloadmate-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/appearance-themes.c')
-rw-r--r--capplets/appearance/appearance-themes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capplets/appearance/appearance-themes.c b/capplets/appearance/appearance-themes.c
index 1028d830..3bce0077 100644
--- a/capplets/appearance/appearance-themes.c
+++ b/capplets/appearance/appearance-themes.c
@@ -802,7 +802,7 @@ static void
theme_install_cb (GtkWidget *button, AppearanceData *data)
{
mate_theme_installer_run (
- GTK_WINDOW (appearance_capplet_get_widget (data, "appearance_window")), NULL);
+ GTK_WINDOW (appearance_capplet_get_widget (data, "appearance_window")));
}
static void