From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48340 invoked by alias); 22 Oct 2016 20:53:54 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 48278 invoked by uid 9078); 22 Oct 2016 20:53:54 -0000 Date: Sat, 22 Oct 2016 20:53:00 -0000 Message-ID: <20161022205354.48275.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] towupper: Eliminate dead code X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: 941df759a2758760b60e9c6b13b401c151070fb0 X-Git-Newrev: 5c758bf910a1531c3e06febe1eb759de4a1b6c77 X-SW-Source: 2016-q4/txt/msg00007.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5c758bf910a1531c3e06febe1eb759de4a1b6c77 commit 5c758bf910a1531c3e06febe1eb759de4a1b6c77 Author: Corinna Vinschen Date: Sat Oct 22 22:00:51 2016 +0200 towupper: Eliminate dead code Fixes Coverity CID 59865 Signed-off-by: Corinna Vinschen Diff: --- 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 e2d8028..1e4d0f5 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) {