From 203c341d63ad3bc3edfa4201e3f73e7fe28ec4d8 Mon Sep 17 00:00:00 2001
From: obarun <eric@obarun.org>
Date: Fri, 30 Sep 2022 08:59:53 +1100
Subject: [PATCH] the matrix is already built by the graph_build_service or
 graph_build_tree function

---
 src/lib66/graph/graph_build_g.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/lib66/graph/graph_build_g.c b/src/lib66/graph/graph_build_g.c
index 82f2bac8..1a8a45e0 100644
--- a/src/lib66/graph/graph_build_g.c
+++ b/src/lib66/graph/graph_build_g.c
@@ -36,14 +36,5 @@ int graph_build_g(graph_t *g, char const *base, char const *treename, uint8_t da
             return 0 ;
     }
 
-    if (!graph_matrix_build(g))
-        log_warnu_return(LOG_EXIT_ZERO, "build the graph") ;
-
-    if (!graph_matrix_analyze_cycle(g))
-        log_warnu_return(LOG_EXIT_ZERO, "found cycle") ;
-
-    if (!graph_matrix_sort(g))
-        log_warnu_return(LOG_EXIT_ZERO, "sort the graph") ;
-
     return 1 ;
 }
-- 
GitLab