From 4594bb8f5b4c7a091b952ca28c628966b153d590 Mon Sep 17 00:00:00 2001 From: Wouter Van Rooy Date: Mon, 1 Oct 2012 15:23:18 +0200 Subject: Fix const assignment warning. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] This warning is fixed. This is actually only allowed for legacy reasons and should not be ignored. --- svte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svte.c b/svte.c index 8c18d86..e92a69e 100644 --- a/svte.c +++ b/svte.c @@ -84,7 +84,7 @@ static GQuark term_data_id = 0; static Settings *config; static gchar *config_file = NULL; -static gchar *start_program = NULL; +const static gchar *start_program = NULL; static gboolean show_version = FALSE; static GOptionEntry options[] = { -- cgit v1.2.3