From 0afe41561c50d243469122563140207064bede04 Mon Sep 17 00:00:00 2001 From: jesusc Date: Sat, 15 Oct 2005 16:12:03 +0000 Subject: [PATCH] Removed unnecesary code. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3906 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- device/lib/_strcmp.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/device/lib/_strcmp.c b/device/lib/_strcmp.c index eb834161..1e06058e 100644 --- a/device/lib/_strcmp.c +++ b/device/lib/_strcmp.c @@ -48,11 +48,6 @@ int strcmp ( while( ! (ret = *(unsigned char *)asrc - *(unsigned char *)adst) && *adst) ++asrc, ++adst; - if ( ret < 0 ) - ret = -1 ; - else if ( ret > 0 ) - ret = 1 ; - return( ret ); #endif } -- 2.30.2