]> granicus.if.org Git - graphviz/commitdiff
cgraph agapply: remove unreachable 'break'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 27 Aug 2022 15:38:36 +0000 (08:38 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 30 Aug 2022 01:19:51 +0000 (18:19 -0700)
lib/cgraph/apply.c

index 22a453b07d418a1274ed624bc8cc709cefe530dd..51a05d50b93e7b8569ba401452fa86e6a6f968dc 100644 (file)
@@ -73,7 +73,6 @@ int agapply(Agraph_t * g, Agobj_t * obj, agobjfn_t fn, void *arg,
     default:
        agerr(AGERR, "agapply: unknown object type %d\n", AGTYPE(obj));
        return FAILURE;
-       break;
     }
     if ((subobj = objsearch(g, obj))) {
        rec_apply(g, subobj, fn, arg, objsearch, preorder != 0);