From: Steve Underwood Date: Wed, 9 Jan 2013 16:16:32 +0000 (+0800) Subject: Eliminate a warning with some compilers X-Git-Tag: v1.3.13~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17a523ec33fa20fd0a0dda76476199e5ada0b9c7;p=thirdparty%2Ffreeswitch.git Eliminate a warning with some compilers --- diff --git a/libs/spandsp/src/t35.c b/libs/spandsp/src/t35.c index 0dd2c89dfd..ad10d96881 100644 --- a/libs/spandsp/src/t35.c +++ b/libs/spandsp/src/t35.c @@ -871,8 +871,6 @@ static const nsf_data_t *find_vendor(const uint8_t *msg, int len) const nsf_data_t *p; int real_country_code; - if (msg[0] < 0 || msg[0] > 0xFF) - return NULL; if (msg[0] == 0xFF) { /* The extension code gives us the country. */