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