From: Matthew Fernandez Date: Sat, 24 Apr 2021 04:35:25 +0000 (-0700) Subject: replace first boolean with a C99 bool X-Git-Tag: 2.47.2~13^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f88b25737de2322b6c778f94fe5a19e400b31b2;p=graphviz replace first boolean with a C99 bool --- diff --git a/lib/sparse/DotIO.c b/lib/sparse/DotIO.c index 94b759250..eb6ef575e 100644 --- a/lib/sparse/DotIO.c +++ b/lib/sparse/DotIO.c @@ -699,8 +699,9 @@ SparseMatrix Import_coord_clusters_from_dot(Agraph_t* g, int maxcluster, int dim char scluster[100]; float ff; - int MAX_GRPS, MIN_GRPS, first = TRUE; + int MAX_GRPS, MIN_GRPS; bool noclusterinfo = false; + bool first = true; float *pal; int max_color = MAX_COLOR; @@ -821,7 +822,7 @@ SparseMatrix Import_coord_clusters_from_dot(Agraph_t* g, int maxcluster, int dim nc = MAX(nc, ic); if (first){ MIN_GRPS = ic; - first = FALSE; + first = false; } else { MIN_GRPS = MIN(MIN_GRPS, ic); }