serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1712797 - /serf/trunk/test/test_buckets.c
Date Thu, 05 Nov 2015 15:32:24 GMT
Author: ivan
Date: Thu Nov  5 15:32:17 2015
New Revision: 1712797

URL: http://svn.apache.org/viewvc?rev=1712797&view=rev
Log:
Follow-up to r1712795: Remove unused function.

* test/test_buckets.c
  (prepend_magic): Remove.

Modified:
    serf/trunk/test/test_buckets.c

Modified: serf/trunk/test/test_buckets.c
URL: http://svn.apache.org/viewvc/serf/trunk/test/test_buckets.c?rev=1712797&r1=1712796&r2=1712797&view=diff
==============================================================================
--- serf/trunk/test/test_buckets.c (original)
+++ serf/trunk/test/test_buckets.c Thu Nov  5 15:32:17 2015
@@ -687,22 +687,6 @@ static apr_status_t append_magic(void *b
   return APR_EOF;
 }
 
-static apr_status_t prepend_magic(void *baton,
-                                  serf_bucket_t *bucket)
-{
-  serf_bucket_t *bkt;
-  int *append = baton;
-
-  if (*append)
-    {
-      (*append)--;
-      bkt = SERF_BUCKET_SIMPLE_STRING("magic", bucket->allocator);
-      serf_bucket_aggregate_prepend(bucket, bkt);
-      return APR_SUCCESS;
-    }
-
-  return APR_EOF;
-}
 
 static void test_aggregate_buckets(CuTest *tc)
 {



Mime
View raw message