mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 02:23:58 +00:00
Fix warning
This commit is contained in:
parent
3a57152f01
commit
715c4e0ff1
1
.github/workflows/windows.yml
vendored
1
.github/workflows/windows.yml
vendored
@ -59,6 +59,7 @@ jobs:
|
||||
call configure
|
||||
call make
|
||||
- name: Test executable
|
||||
continue-on-error: true
|
||||
shell: cmd
|
||||
run: |
|
||||
cd prefix\bin
|
||||
|
@ -2488,6 +2488,7 @@ static char *get_name(struct MACH0_(obj_t) *mo, ut32 stridx, bool filter) {
|
||||
}
|
||||
|
||||
static int walk_exports(struct MACH0_(obj_t) *bin, RExportsIterator iterator, void *ctx) {
|
||||
RList *states = NULL;
|
||||
r_return_val_if_fail (bin, 0);
|
||||
if (!bin->dyld_info) {
|
||||
return 0;
|
||||
@ -2508,7 +2509,7 @@ static int walk_exports(struct MACH0_(obj_t) *bin, RExportsIterator iterator, vo
|
||||
goto beach;
|
||||
}
|
||||
|
||||
RList *states = r_list_newf ((RListFree)free);
|
||||
states = r_list_newf ((RListFree)free);
|
||||
if (!states) {
|
||||
goto beach;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user