Skip to content

Commit 3592d34

Browse files
committed
Remove extra assert in flowgraph example for Rust API
1 parent cd72f49 commit 3592d34

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rust/examples/flowgraph.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,8 @@ fn main() {
130130
test_graph();
131131

132132
for func in bv.functions().iter().take(5) {
133-
let graph = func.create_graph(FunctionViewType::MediumLevelIL, None);
134133
// TODO: Why are the nodes empty? Python its empty until its shown...
135-
assert!(!graph.nodes().is_empty());
134+
let graph = func.create_graph(FunctionViewType::MediumLevelIL, None);
136135
let func_name = func.symbol().short_name();
137136
let title = func_name.to_string_lossy();
138137
bv.show_graph_report(&title, &graph);

0 commit comments

Comments
 (0)