[easytag/wip/application-window: 15/17] Remove bogus conditional check
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/application-window: 15/17] Remove bogus conditional check
- Date: Tue, 11 Feb 2014 18:56:31 +0000 (UTC)
commit f4e6060e48610fc4093ae339a6ccbd201cf24b19
Author: David King <amigadave amigadave com>
Date: Mon Feb 3 16:30:42 2014 +0000
Remove bogus conditional check
Found with Coverity (CID 1163350).
src/playlist_dialog.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/playlist_dialog.c b/src/playlist_dialog.c
index 9e88fa9..31c2eb5 100644
--- a/src/playlist_dialog.c
+++ b/src/playlist_dialog.c
@@ -394,7 +394,6 @@ write_button_clicked (EtPlaylistDialog *self)
gchar *playlist_name_utf8; // Path + filename
gchar *temp;
GtkWidget *msgdialog;
- gint response = 0;
priv = et_playlist_dialog_get_instance_private (self);
@@ -501,9 +500,6 @@ write_button_clicked (EtPlaylistDialog *self)
playlist_name = filename_from_display(playlist_name_utf8);
- // Writing playlist if ok
- if (response == 0
- || response == GTK_RESPONSE_YES )
{
GFile *file = g_file_new_for_path (playlist_name);
GError *error = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]