mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-23 12:03:41 +01:00
Remove bogus check on scan_string which is guaranteed to fail every time.
This commit is contained in:
parent
54752e0df0
commit
5a1d3c6fd7
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ maps_next (struct map_iterator *mi,
|
|||
if (!cp)
|
||||
continue;
|
||||
cp = scan_string (cp, NULL, 0);
|
||||
if (!cp || dash != '-' || colon != ':')
|
||||
if (dash != '-' || colon != ':')
|
||||
continue; /* skip line with unknown or bad format */
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue