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