From 4f468b14e9023fccb44988d05acad25a29766015 Mon Sep 17 00:00:00 2001 From: William King Date: Thu, 16 Apr 2015 11:37:34 -0700 Subject: [PATCH] CID: 1294483 no need to check if an unsigned variable is less than 0 --- src/switch_core_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) {