File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -976,6 +976,7 @@ static int disasm_line__parse_powerpc(struct disasm_line *dl, struct annotate_ar
976
976
char * tmp_raw_insn , * name_raw_insn = skip_spaces (line );
977
977
char * name = skip_spaces (name_raw_insn + RAW_BYTES );
978
978
int disasm = 0 ;
979
+ int ret = 0 ;
979
980
980
981
if (args -> options -> disassembler_used )
981
982
disasm = 1 ;
@@ -984,7 +985,7 @@ static int disasm_line__parse_powerpc(struct disasm_line *dl, struct annotate_ar
984
985
return -1 ;
985
986
986
987
if (disasm )
987
- disasm_line__parse (name , namep , rawp );
988
+ ret = disasm_line__parse (name , namep , rawp );
988
989
else
989
990
* namep = "" ;
990
991
@@ -998,7 +999,7 @@ static int disasm_line__parse_powerpc(struct disasm_line *dl, struct annotate_ar
998
999
if (disasm )
999
1000
dl -> raw .raw_insn = be32_to_cpu (dl -> raw .raw_insn );
1000
1001
1001
- return 0 ;
1002
+ return ret ;
1002
1003
}
1003
1004
1004
1005
static void annotation_line__init (struct annotation_line * al ,
You can’t perform that action at this time.
0 commit comments