apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr/strings apr_strnatcmp.c
Date Tue, 12 Feb 2002 06:04:14 GMT
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 <string.h>
   #include "apr_strings.h"
   #include "apr_lib.h"            /* for apr_is*() */
  -#if APR_HAVE_ERRNO_H
  -/* Do we realy need the assert here ? */
  -#include <assert.h>
  -#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];
  
  
  

Mime
View raw message