]> granicus.if.org Git - graphviz/commitdiff
insertFn: [nfc] remove unnecessary cast
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Feb 2022 06:43:55 +0000 (17:43 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 6 Feb 2022 20:36:36 +0000 (07:36 +1100)
lib/pack/ccomps.c

index da1bc189402a9e65df24628e49fa23f5681041c4..09b771341070c06ba676d9afc46f2f92964a1cab 100644 (file)
@@ -148,7 +148,7 @@ static int isLegal(char *p)
  */
 static void insertFn(Agnode_t * n, void *state)
 {
-    agsubnode((Agraph_t *) state,n,1);
+    agsubnode(state, n, 1);
 }
 
 /* markFn: