mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-02 10:16:21 +00:00
Attempt to fix GCC/Linux Travis
This commit is contained in:
parent
3be2db7314
commit
fc3664d9ae
@ -3297,8 +3297,8 @@ R_API void r_core_cmd_init(RCore *core) {
|
||||
core->rcmd->macro.cb_printf = (PrintfCallback)r_cons_printf;
|
||||
r_cmd_set_data (core->rcmd, core);
|
||||
core->cmd_descriptors = r_list_newf (free);
|
||||
|
||||
for (int i = 0; i < R_ARRAY_SIZE (cmds); i++) {
|
||||
int i;
|
||||
for (i = 0; i < R_ARRAY_SIZE (cmds); i++) {
|
||||
r_cmd_add (core->rcmd, cmds[i].cmd, cmds[i].description, cmds[i].cb);
|
||||
if (cmds[i].descriptor_init) {
|
||||
cmds[i].descriptor_init (core);
|
||||
|
Loading…
Reference in New Issue
Block a user