X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fliboconfig%2Fparser.y;h=803eec26205317b30c21425c9c2821a4f75321fe;hb=5047407e6c0ca8b53bf1629144396702cd18cf08;hp=f0e886cc1a1e28ab5f1c277eb830c54896410d59;hpb=a09f2fdf0450eb76317e1b7575a12ffb926068f4;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 = "";