From: Christian Grothoff Date: Sun, 12 Feb 2012 18:20:36 +0000 (+0000) Subject: -GArik: size_t is unsigned -- DCE X-Git-Tag: initial-import-from-subversion-38251~14896 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ed0d23cb1b7dd4b40fb25b5edaeb32012b225a04;p=oweals%2Fgnunet.git -GArik: size_t is unsigned -- DCE --- 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] &&