From 1db1801a5b9364d0d4320a4438d31d72c8c72c8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Mon, 16 Sep 2013 15:15:51 +0000 Subject: [PATCH] removed useless unsigned variable checks in src/lib/formats/ap_dsk35.c (nw) --- src/lib/formats/ap_dsk35.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/formats/ap_dsk35.c b/src/lib/formats/ap_dsk35.c index ceee8d08825..db69bdf9a15 100644 --- a/src/lib/formats/ap_dsk35.c +++ b/src/lib/formats/ap_dsk35.c @@ -1267,7 +1267,7 @@ int dc42_format::identify(io_generic *io, UINT32 form_factor) UINT32 dsize = (h[0x40] << 24) | (h[0x41] << 16) | (h[0x42] << 8) | h[0x43]; UINT32 tsize = (h[0x44] << 24) | (h[0x45] << 16) | (h[0x46] << 8) | h[0x47]; - return dsize > 0 && tsize >= 0 && size == 0x54+tsize+dsize && h[0] < 64 && h[0x52] == 1 && h[0x53] == 0 ? 100 : 0; + return size == 0x54+tsize+dsize && h[0] < 64 && h[0x52] == 1 && h[0x53] == 0 ? 100 : 0; } const floppy_image_format_t::desc_e dc42_format::mac_gcr[] = {