]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Eliminate a warning with some compilers
authorSteve Underwood <steveu@coppice.org>
Wed, 9 Jan 2013 16:16:32 +0000 (00:16 +0800)
committerSteve Underwood <steveu@coppice.org>
Wed, 9 Jan 2013 16:16:32 +0000 (00:16 +0800)
libs/spandsp/src/t35.c

index 0dd2c89dfdf8f2e1934de13bfde18af3d6465fe1..ad10d96881784d1d97f67c2c48f64badf811e211 100644 (file)
@@ -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. */