tools: Remove unreachable break after return/break. Found by Smatch.
This commit is contained in:
parent
9a522589fb
commit
483d213eca
|
@ -501,7 +501,6 @@ static void do_field(const unsigned char* start, const unsigned char* end)
|
|||
default:
|
||||
printf(">>> Unsupported field-id %x\n", fieldtype->generic.id);
|
||||
dump_data((const void*)fieldtype, 0x30, "\t");
|
||||
return;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -228,7 +228,6 @@ int symbol_demangle (parsed_symbol *sym)
|
|||
FREE_CT (ct);
|
||||
free (function_name);
|
||||
return 0;
|
||||
break;
|
||||
|
||||
case '6' : /* compiler generated static */
|
||||
case '7' : /* compiler generated static */
|
||||
|
@ -247,7 +246,6 @@ int symbol_demangle (parsed_symbol *sym)
|
|||
}
|
||||
free (function_name);
|
||||
return -1;
|
||||
break;
|
||||
|
||||
/* Functions */
|
||||
|
||||
|
|
Loading…
Reference in New Issue