From 17a523ec33fa20fd0a0dda76476199e5ada0b9c7 Mon Sep 17 00:00:00 2001 From: Steve Underwood Date: Thu, 10 Jan 2013 00:16:32 +0800 Subject: [PATCH] Eliminate a warning with some compilers --- libs/spandsp/src/t35.c | 2 -- 1 file changed, 2 deletions(-) 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. */