Remove undocumented and unlogged seek behavior when no alias match is found

This commit is contained in:
Lazula 2021-12-22 15:32:43 -06:00 committed by pancake
parent 0c46ebfed2
commit 4a1ef1de44

View File

@ -798,12 +798,7 @@ static int cmd_alias(void *data, const char *input) {
r_core_cmd0 (core, (char *)v->data);
}
} else {
ut64 at = r_num_get (core->num, buf);
if (at != UT64_MAX) {
r_core_seek (core, at, true);
} else {
eprintf ("No such alias \"$%s\"\n", buf);
}
eprintf ("No such alias \"$%s\"\n", buf);
}
}
free (buf);