1
0
Fork 0
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:
Arun Sharma 2010-02-21 22:35:26 -08:00
parent 54752e0df0
commit 5a1d3c6fd7

View file

@ -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;
}