]> granicus.if.org Git - graphviz/commitdiff
find_ints: squash a -Wswitch-default warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 16 Nov 2021 05:11:21 +0000 (21:11 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 21 Nov 2021 18:22:50 +0000 (10:22 -0800)
It seems clear from surrounding context that this switch is intentionally a
no-op for other values.

tclpkg/tclpathplan/find_ints.c

index 992b07f83d906b17376b83e2dcb6cd609cdf4997..bdd01746c1d47f0926c936229b53e872d89a1c98 100644 (file)
@@ -93,6 +93,8 @@ void find_ints(struct vertex vertex_list[],
                templ->active = NIL;
                break;          /* end of case 1        */
 
+           default:
+               break;
            }                   /* end switch   */
 
            pt2 = after(pvertex[i]);