From af512f0e603c15ced6b4f70db3dd0c2200b4a094 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 5 Mar 2016 14:37:40 +0100 Subject: [PATCH] parser.y: mark text as const --- src/liboconfig/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liboconfig/parser.y b/src/liboconfig/parser.y index f0e886cc..803eec26 100644 --- a/src/liboconfig/parser.y +++ b/src/liboconfig/parser.y @@ -225,7 +225,7 @@ entire_file: %% static int yyerror (const char *s) { - char *text; + const char *text; if (*yytext == '\n') text = ""; -- 2.30.2