diff --git a/src/os-linux.h b/src/os-linux.h index 19f83af7..af301ce0 100644 --- a/src/os-linux.h +++ b/src/os-linux.h @@ -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; }