{
TALLOC_CTX *tmp_ctx;
struct kcctpl_internal_edge_list internal_edges;
- uint32_t i, component_count;
+ uint32_t i, component_count = 0;
NTSTATUS status;
struct kcctpl_multi_edge_list output_edges, st_edge_list;
ZERO_STRUCT(internal_edges);
+ ZERO_STRUCT(st_edge_list);
tmp_ctx = talloc_new(mem_ctx);
NT_STATUS_HAVE_NO_MEMORY(tmp_ctx);
TALLOC_CTX *tmp_ctx;
struct GUID site_guid;
struct kcctpl_vertex *site_vertex;
- uint32_t component_count, i;
+ uint32_t component_count = 0, i;
struct kcctpl_multi_edge_list st_edge_list;
struct ldb_dn *transports_dn;
const char * const attrs[] = { "bridgeheadServerListBL", "name",
"transportAddressAttribute", NULL };
int ret;
+ ZERO_STRUCT(st_edge_list);
+
connected = true;
status = kcctpl_color_vertices(service, graph, cross_ref, detect_failed_dcs,