You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2018/05/15 20:41:34 UTC

[trafficserver] branch master updated: Fix issue with test_MemArena.cc which wasn't caught by the PR builds.

This is an automated email from the ASF dual-hosted git repository.

amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 5886b86  Fix issue with test_MemArena.cc which wasn't caught by the PR builds.
5886b86 is described below

commit 5886b8610dbea06565f23d43eaa84917fb5f8153
Author: Alan M. Carroll <am...@apache.org>
AuthorDate: Tue May 15 15:12:35 2018 -0500

    Fix issue with test_MemArena.cc which wasn't caught by the PR builds.
---
 lib/ts/unit-tests/test_MemArena.cc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/ts/unit-tests/test_MemArena.cc b/lib/ts/unit-tests/test_MemArena.cc
index 69bb2f1..a99c202 100644
--- a/lib/ts/unit-tests/test_MemArena.cc
+++ b/lib/ts/unit-tests/test_MemArena.cc
@@ -132,9 +132,6 @@ TEST_CASE("MemArena helper", "[libts][MemArena]")
 TEST_CASE("MemArena large alloc", "[libts][MemArena]")
 {
   ts::MemArena arena;
-
-  size_t arena_size = arena.size(); // little bit less than 1 << 15
-
   ts::MemSpan s = arena.alloc(4000);
   REQUIRE(s.size() == 4000);
 

-- 
To stop receiving notification emails like this one, please contact
amc@apache.org.