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 ebd6451 Avoid a clang warning when all the defines are set
ebd6451 is described below
commit ebd6451e539871666c571cb217ec3b0b8e593290
Author: Leif Hedstrom <[email protected]>
AuthorDate: Fri Aug 2 22:13:07 2019 -0600
Avoid a clang warning when all the defines are set
---
src/traffic_layout/info.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/traffic_layout/info.cc b/src/traffic_layout/info.cc
index e275513..f826ea9 100644
--- a/src/traffic_layout/info.cc
+++ b/src/traffic_layout/info.cc
@@ -171,7 +171,7 @@ void
produce_versions(bool json)
{
using LBW = ts::LocalBufferWriter<128>;
- static const std::string_view undef{"undef"};
+ [[maybe_unused]] static const std::string_view undef{"undef"};
if (json) {
printf("{\n");