From 5c758bf910a1531c3e06febe1eb759de4a1b6c77 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 22 Oct 2016 22:00:51 +0200 Subject: [PATCH] towupper: Eliminate dead code Fixes Coverity CID 59865 Signed-off-by: Corinna Vinschen --- newlib/libc/ctype/towupper.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/newlib/libc/ctype/towupper.c b/newlib/libc/ctype/towupper.c index e2d80281f..1e4d0f5cb 100644 --- a/newlib/libc/ctype/towupper.c +++ b/newlib/libc/ctype/towupper.c @@ -397,9 +397,6 @@ _DEFUN(towupper,(c), wint_t c) if (c == 0x04cf) return 0x04c0; - - if (c >= 0x04f7 && c <= 0x04f9) - return (c - 1); } else if (c < 0x0600) {