Removed code unnecessary due to dcf3db0250

This commit is contained in:
Khairul Kasmiran 2018-03-14 20:26:00 +08:00
parent dcf3db0250
commit cf94c32f3a

View File

@ -1862,14 +1862,6 @@ static void ds_show_flags(RDisasmState *ds) {
static void ds_update_ref_lines(RDisasmState *ds) {
if (ds->show_lines) {
ds->line = r_anal_reflines_str (ds->core, ds->at, ds->linesopts);
{
const char *col = ds->show_utf8? r_vline_u[LINE_UP] : r_vline_a[LINE_UP];
char *newstr = ds->show_color
? r_str_newf ("%s%s%s", ds->color_flow, col, ds->color_flow)
: strdup (col);
ds->line = r_str_replace (ds->line, r_vline_a[LINE_UP], newstr, true);
free (newstr);
}
free (ds->refline);
ds->refline = ds->line? strdup (ds->line): NULL;
free (ds->refline2);