]> granicus.if.org Git - graphviz/commitdiff
agapply: remove useless comment
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 10 Aug 2021 01:58:38 +0000 (18:58 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 13 Aug 2021 14:50:45 +0000 (07:50 -0700)
This comment is indeed useless. It is clear it is *an* entry point by virtue of
being part of the public API.

lib/cgraph/apply.c

index 16024ab589f9067486415459187aed8cf22e323f..122a8743cf684f840afc1449c6f96e6a03b10b4a 100644 (file)
@@ -53,8 +53,6 @@ static void rec_apply(Agraph_t * g, Agobj_t * obj, agobjfn_t fn, void *arg,
        fn(g, obj, arg);
 }
 
-/* external entry point (this seems to be one of those ineffective
- * comments censured in books on programming style) */
 int agapply(Agraph_t * g, Agobj_t * obj, agobjfn_t fn, void *arg,
            int preorder)
 {