]> granicus.if.org Git - graphviz/commitdiff
abbreviate an increment
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 18 Apr 2021 05:04:46 +0000 (22:04 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Apr 2021 20:31:57 +0000 (13:31 -0700)
lib/neatogen/heap.c

index 8935f16b8bcd6527f71ae3754730f83363000fb6..8c16aa3ed7ec8b335c2fb5aa1b3904cc5073104e 100644 (file)
@@ -117,7 +117,7 @@ void PQinitialize(void)
     PQhashsize = 4 * sqrt_nsites;
     if (PQhash == NULL)
        PQhash = N_GNEW(PQhashsize, Halfedge);
-    for (i = 0; i < PQhashsize; i += 1)
+    for (i = 0; i < PQhashsize; ++i)
        PQhash[i].PQnext = NULL;
 }