apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: apr-util/buckets apr_buckets_refcount.c
Date Sat, 25 Aug 2001 23:06:50 GMT
jwoolley    01/08/25 16:06:50

  Modified:    buckets  apr_buckets_refcount.c
  Log:
  Get rid of a redundant rv check... apr_bucket_simple_copy will
  never return anything but APR_SUCCESS (anymore)
  
  Revision  Changes    Path
  1.18      +1 -4      apr-util/buckets/apr_buckets_refcount.c
  
  Index: apr_buckets_refcount.c
  ===================================================================
  RCS file: /home/cvs/apr-util/buckets/apr_buckets_refcount.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -d -u -r1.17 -r1.18
  --- apr_buckets_refcount.c	2001/07/24 20:36:03	1.17
  +++ apr_buckets_refcount.c	2001/08/25 23:06:50	1.18
  @@ -72,11 +72,8 @@
                                                           apr_bucket **b)
   {
       apr_bucket_refcount *r = a->data;
  -    apr_status_t rv;
   
  -    if ((rv = apr_bucket_simple_copy(a, b)) != APR_SUCCESS) {
  -        return rv;
  -    }
  +    apr_bucket_simple_copy(a, b);
       r->refcount++;
   
       return APR_SUCCESS;
  
  
  

Mime
View raw message