mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-25 06:09:50 +00:00
Removed c99 declaration in for loop (#9284)
This commit is contained in:
parent
3feef7fb64
commit
acc12c9137
@ -493,6 +493,7 @@ R_API bool core_anal_bbs_range (RCore *core, const char* input) {
|
||||
bool debug = r_config_get_i (core->config, "cfg.debug");
|
||||
ut64 lista[1024] = { 0 };
|
||||
int idx = 0;
|
||||
int x;
|
||||
|
||||
block_list = r_list_new ();
|
||||
if (!block_list) {
|
||||
@ -503,7 +504,7 @@ R_API bool core_anal_bbs_range (RCore *core, const char* input) {
|
||||
eprintf ("Creating basic blocks\b");
|
||||
}
|
||||
lista[idx++] = b_start;
|
||||
for (int x = 0; x < 1024; x++) {
|
||||
for (x = 0; x < 1024; x++) {
|
||||
if (lista[x] != 0) {
|
||||
cur =0;
|
||||
b_start = lista[x];
|
||||
|
Loading…
Reference in New Issue
Block a user