You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/11/16 03:27:41 UTC

[trafficserver] branch master updated: Fix compile error on Ubuntu.

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

zwoop 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 3669b0c  Fix compile error on Ubuntu.
3669b0c is described below

commit 3669b0ca08e5cb9e286d9e446bebcb8161e5092e
Author: Alan M. Carroll <am...@apache.org>
AuthorDate: Wed Nov 15 20:22:09 2017 -0600

    Fix compile error on Ubuntu.
---
 iocore/eventsystem/Thread.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/eventsystem/Thread.cc b/iocore/eventsystem/Thread.cc
index cfb51e0..131426d 100644
--- a/iocore/eventsystem/Thread.cc
+++ b/iocore/eventsystem/Thread.cc
@@ -40,7 +40,7 @@ inkcoreapi ink_thread_key Thread::thread_data_key;
 
 namespace
 {
-static bool initialized = ([]() -> bool {
+static bool initialized ATS_UNUSED = ([]() -> bool {
   // File scope initialization goes here.
   ink_thread_key_create(&Thread::thread_data_key, nullptr);
   return true;

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].