From: Matthew Fernandez Date: Sun, 29 Aug 2021 23:40:31 +0000 (-0700) Subject: parse_style: use a C99 bool for 'is_first' local X-Git-Tag: 2.49.1~46^2~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ee62d65737104b85d5cad3ac7002fbb30fe73d9;p=graphviz parse_style: use a C99 bool for 'is_first' local --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 447579712..cd971301d 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -3816,7 +3816,7 @@ static agxbuf ps_xb; char **parse_style(char *s) { static char *parse[FUNLIMIT]; - static boolean is_first = TRUE; + static bool is_first = true; int fun = 0; boolean in_parens = FALSE; unsigned char buf[SMALLBUF]; @@ -3826,7 +3826,7 @@ char **parse_style(char *s) if (is_first) { agxbinit(&ps_xb, SMALLBUF, outbuf); - is_first = FALSE; + is_first = false; } agxbinit(&xb, SMALLBUF, buf);