From: Matthew Fernandez Date: Sat, 24 Jul 2021 17:52:40 +0000 (-0700) Subject: cgraph: use a const char pointer for storing input filename X-Git-Tag: 2.49.0~36^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e919dd514c39703bb16bf2d7e5dab1dd2426a23;p=graphviz cgraph: use a const char pointer for storing input filename Related to #634. --- diff --git a/lib/cgraph/scan.l b/lib/cgraph/scan.l index b460359e4..938d07bb2 100644 --- a/lib/cgraph/scan.l +++ b/lib/cgraph/scan.l @@ -35,7 +35,7 @@ /* this is a workaround for linux flex */ static int line_num = 1; static int html_nest = 0; /* nesting level for html strings */ -static char* InputFile; +static const char* InputFile; static Agdisc_t *Disc; static void *Ifile; static int graphType;