From cd3c2e4af45af43b3d3330f84180c6a7a74941a3 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Thu, 2 Jun 2011 19:37:41 +0300 Subject: [PATCH] Fix warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../gui/save_project_dialog.c:61:15: error: variable ‘path_button’ set but not used [-Werror=unused-but-set-variable] --- gui/save_project_dialog.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gui/save_project_dialog.c b/gui/save_project_dialog.c index aab83950..96f49fa2 100644 --- a/gui/save_project_dialog.c +++ b/gui/save_project_dialog.c @@ -2,7 +2,7 @@ /* * LADI Session Handler (ladish) * - * Copyright (C) 2010 Nedko Arnaudov + * Copyright (C) 2010, 2011 Nedko Arnaudov * ************************************************************************** * This file contains implementation of the save project dialog @@ -58,7 +58,6 @@ void ladish_init_save_project_dialog(void) void ladish_run_save_project_dialog(ladish_room_proxy_handle room) { GtkWidget * dialog = NULL; - GtkWidget * path_button = NULL; GtkEntry * name = NULL; GtkResponseType response; @@ -66,7 +65,6 @@ void ladish_run_save_project_dialog(ladish_room_proxy_handle room) const char * project_name; dialog = get_gtk_builder_widget("project_save_as_dialog"); - path_button = get_gtk_builder_widget("project_save_as_path_button"); path = GTK_ENTRY(get_gtk_builder_widget("project_save_as_path_entry")); name = GTK_ENTRY(get_gtk_builder_widget("project_save_as_name_entry"));