Fix dead nested assignment librz/util/print.c

This commit is contained in:
Alexis Ehret 2021-02-01 22:24:38 +01:00
parent 81d5e0be1d
commit 6f8b629be8

View file

@ -1194,13 +1194,11 @@ RZ_API void rz_print_hexdump(RzPrint *p, ut64 addr, const ut8 *buf, int len, int
if (comment) {
if (p && p->colorfor) {
a = p->colorfor(p->user, addr + j, true);
if (a && *a) {
b = Color_RESET;
} else {
a = b = "";
if (!a || !*a) {
a = "";
}
} else {
a = b = "";
a = "";
}
printfmt("%s ; %s", a, comment);
free(comment);