X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fliboconfig%2Fparser.y;h=803eec26205317b30c21425c9c2821a4f75321fe;hb=af512f0e603c15ced6b4f70db3dd0c2200b4a094;hp=f0e886cc1a1e28ab5f1c277eb830c54896410d59;hpb=21a4ddcc2d66eea59224fd95746c7533b1b1a46d;p=collectd.git 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 = "";