diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-07-17 19:23:43 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-07-17 19:23:43 -0400 |
commit | 0993cdf79f24c826121c9c0930de2b5fbbde6e47 (patch) | |
tree | 1d0cb867cd0eb0916fbdd59a972d8b0ba1bbe988 | |
parent | 32c81cfd658e5ed3850b6a44f4240f75c5ce19d1 (diff) | |
download | gtk+-0993cdf79f24c826121c9c0930de2b5fbbde6e47.tar.gz |
file chooser: remove an unused GError variable
Pointed out by coverity
-rw-r--r-- | gtk/gtkfilechooserwidget.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index f3052d088c..231113da3f 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -5886,7 +5886,6 @@ gtk_file_chooser_widget_should_respond (GtkFileChooserEmbed *chooser_embed) gboolean is_well_formed, is_empty, is_file_part_empty; gboolean is_folder; GtkFileChooserEntry *entry; - GError *error; save_entry: @@ -5935,7 +5934,6 @@ gtk_file_chooser_widget_should_respond (GtkFileChooserEmbed *chooser_embed) g_assert (file != NULL); - error = NULL; if (is_folder) { if (priv->action == GTK_FILE_CHOOSER_ACTION_OPEN || @@ -5981,9 +5979,6 @@ gtk_file_chooser_widget_should_respond (GtkFileChooserEmbed *chooser_embed) data); set_busy_cursor (impl, TRUE); - - if (error != NULL) - g_error_free (error); } g_object_unref (file); |