From: William King Date: Thu, 16 Apr 2015 18:37:34 +0000 (-0700) Subject: CID: 1294483 no need to check if an unsigned variable is less than 0 X-Git-Tag: v1.6.2~614^2~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f468b14e9023fccb44988d05acad25a29766015;p=thirdparty%2Ffreeswitch.git CID: 1294483 no need to check if an unsigned variable is less than 0 --- diff --git a/src/switch_core_video.c b/src/switch_core_video.c index 4ee233d2c8..477d6e8606 100644 --- a/src/switch_core_video.c +++ b/src/switch_core_video.c @@ -350,7 +350,7 @@ static void scv_tag(void *buffer, int w, int x, int y, uint8_t n) int i = 0, j=0; uint8_t *p = buffer; - if (n < 0 || n > 13) return; + if (n > 13) return; for(i=0; i<8; i++) { for (j=0; j<16; j++) {