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

bcall 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 d8191b6  Remove unused variable in cache test
d8191b6 is described below

commit d8191b6e6f6e149c149347244ef38a50d77d2f21
Author: Bryan Call <bc...@apache.org>
AuthorDate: Tue Apr 9 10:51:30 2019 -0700

    Remove unused variable in cache test
---
 iocore/cache/test/main.cc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/iocore/cache/test/main.cc b/iocore/cache/test/main.cc
index 578314d..f0425d9 100644
--- a/iocore/cache/test/main.cc
+++ b/iocore/cache/test/main.cc
@@ -27,7 +27,6 @@
 #define THREADS 1
 #define DIAGS_LOG_FILE "diags.log"
 
-char working_dir[1024] = {0};
 void
 test_done()
 {
@@ -42,7 +41,6 @@ struct EventProcessorListener : Catch::TestEventListenerBase {
   virtual void
   testRunStarting(Catch::TestRunInfo const &testRunInfo) override
   {
-    getcwd(working_dir, 1024);
     BaseLogFile *base_log_file = new BaseLogFile("stderr");
     diags                      = new Diags(testRunInfo.name.c_str(), "*" /* 
tags */, "" /* actions */, base_log_file);
     diags->activate_taglist("cache.*|agg.*|locks", DiagsTagType_Debug);

Reply via email to