Skip to content

Commit 5c75614

Browse files
committed
[Rust] Remove extra assert in flowgraph example
1 parent 6244f18 commit 5c75614

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)