Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 43999 invoked by uid 500); 12 Feb 2002 06:04:15 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 43988 invoked from network); 12 Feb 2002 06:04:14 -0000 Date: 12 Feb 2002 06:04:14 -0000 Message-ID: <20020212060414.12335.qmail@icarus.apache.org> From: jerenkrantz@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/strings apr_strnatcmp.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N jerenkrantz 02/02/11 22:04:13 Modified: strings apr_strnatcmp.c Log: Toss an assert call that only checks input parameters validity which is not our style. Revision Changes Path 1.9 +0 -7 apr/strings/apr_strnatcmp.c Index: apr_strnatcmp.c =================================================================== RCS file: /home/cvs/apr/strings/apr_strnatcmp.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- apr_strnatcmp.c 12 Feb 2002 01:52:35 -0000 1.8 +++ apr_strnatcmp.c 12 Feb 2002 06:04:13 -0000 1.9 @@ -24,10 +24,6 @@ #include #include "apr_strings.h" #include "apr_lib.h" /* for apr_is*() */ -#if APR_HAVE_ERRNO_H -/* Do we realy need the assert here ? */ -#include -#endif #if defined(__GNUC__) # define UNUSED __attribute__((__unused__)) @@ -94,9 +90,6 @@ int ai, bi; char ca, cb; int fractional, result; -#if APR_HAVE_ERRNO_H - assert(a && b); -#endif ai = bi = 0; while (1) { ca = a[ai]; cb = b[bi];