]> granicus.if.org Git - graphviz/commitdiff
dotgen dot_position: squash -Wunused-variable warning in release mode
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 10 Jan 2023 15:55:16 +0000 (07:55 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 14 Jan 2023 17:05:18 +0000 (09:05 -0800)
lib/dotgen/position.c

index 9637ac725c24335862e3e935ff88e743fc705e49..a1c7758f71ddea42a2c4ac0beae31b5235a8fe0d 100644 (file)
@@ -131,6 +131,7 @@ void dot_position(graph_t * g, aspect_t* asp)
        connectGraph (g);
        const int rank_result = rank(g, 2, nsiter2(g));
        assert(rank_result == 0);
+       (void)rank_result;
     }
     set_xcoords(g);
     set_aspect(g, asp);