From ed0d23cb1b7dd4b40fb25b5edaeb32012b225a04 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 12 Feb 2012 18:20:36 +0000 Subject: [PATCH] -GArik: size_t is unsigned -- DCE --- src/transport/gnunet-helper-transport-wlan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/transport/gnunet-helper-transport-wlan.c b/src/transport/gnunet-helper-transport-wlan.c index 72314beb2..2a6fcb8fb 100644 --- a/src/transport/gnunet-helper-transport-wlan.c +++ b/src/transport/gnunet-helper-transport-wlan.c @@ -1053,9 +1053,6 @@ check_crc_buf_osdep (const unsigned char *buf, size_t len) { unsigned long crc; - if (0 > len) - return 0; - crc = calc_crc_osdep (buf, len); buf += len; return (((crc) & 0xFF) == buf[0] && ((crc >> 8) & 0xFF) == buf[1] && -- 2.25.1