mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 03:11:28 +00:00
Fix iS=
assert warnings
This commit is contained in:
parent
2044e2b925
commit
69286b61c6
@ -487,10 +487,10 @@ static int cmd_info(void *data, const char *input) {
|
||||
RBinObject *obj = r_bin_cur_object (core->bin);
|
||||
if (mode == R_MODE_RADARE || mode == R_MODE_JSON || mode == R_MODE_SIMPLE) {
|
||||
RBININFO (name, action, input + 2 + param_shift,
|
||||
obj? r_list_length (obj->sections): 0);
|
||||
(obj && obj->sections)? r_list_length (obj->sections): 0);
|
||||
} else {
|
||||
RBININFO (name, action, input + 1 + param_shift,
|
||||
obj? r_list_length (obj->sections): 0);
|
||||
(obj && obj->sections)? r_list_length (obj->sections): 0);
|
||||
}
|
||||
}
|
||||
//we move input until get '\0'
|
||||
|
Loading…
Reference in New Issue
Block a user