From: Matthew Fernandez Date: Sat, 11 Sep 2021 18:30:29 +0000 (-0700) Subject: gvpr mkStmts: make 'lbl' parameter const X-Git-Tag: 2.49.1~14^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=993b85bfd05943eee282255ab038d7b2780d7440;p=graphviz gvpr mkStmts: make 'lbl' parameter const The pointed to data is not modified within this function. --- diff --git a/lib/gvpr/compile.c b/lib/gvpr/compile.c index 2442ac609..56c9bbd3a 100644 --- a/lib/gvpr/compile.c +++ b/lib/gvpr/compile.c @@ -2326,7 +2326,7 @@ static void checkGuard(Exnode_t * gp, char *src, int line) /* mkStmts: */ static case_stmt *mkStmts(Expr_t * prog, char *src, case_info * sp, - int cnt, char *lbl, Sfio_t *tmps) + int cnt, const char *lbl, Sfio_t *tmps) { case_stmt *cs; int i;