1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-01-11 11:33:43 +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) if (!cp)
continue; continue;
cp = scan_string (cp, NULL, 0); cp = scan_string (cp, NULL, 0);
if (!cp || dash != '-' || colon != ':') if (dash != '-' || colon != ':')
continue; /* skip line with unknown or bad format */ continue; /* skip line with unknown or bad format */
return 1; return 1;
} }