mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 07:30:33 +00:00
fix COV (REVERSE_NULL)
This commit is contained in:
parent
6007ca4fde
commit
05638b4cfe
@ -91,7 +91,7 @@ static int get_piece (const char *p, char *chr) {
|
||||
const char *q = p;
|
||||
if (!p) return 0;
|
||||
while (p && *p && *p != '\n' && !is_ansi_seq(p)) p++;
|
||||
if (p && chr) *chr = *p;
|
||||
if (chr) *chr = *p;
|
||||
return p - q;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user