mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-25 23:34:57 +00:00
Fix dead initialization libr/core/agraph.c
r_list_foreach assign already a value for 'gn';
This commit is contained in:
parent
509d3f673b
commit
9683174a57
@ -3251,9 +3251,9 @@ static void agraph_follow_innodes(RAGraph *g, bool in) {
|
||||
}
|
||||
r_cons_gotoxy (0, 2);
|
||||
r_cons_printf (in? "Input nodes:\n": "Output nodes:\n");
|
||||
RGraphNode *gn = an->gnode;
|
||||
RList *options = r_list_newf (NULL);
|
||||
RList *gnodes = in? an->gnode->in_nodes: an->gnode->out_nodes;
|
||||
RGraphNode *gn;
|
||||
r_list_foreach (gnodes, iter, gn) {
|
||||
RANode *an = get_anode (gn);
|
||||
RGraphNode *gnn = agraph_get_title (g, an, in);
|
||||
|
Loading…
x
Reference in New Issue
Block a user