summaryrefslogtreecommitdiff
path: root/absl/base/internal/raw_logging.cc
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2022-05-17 17:10:09 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-05-17 17:11:08 -0700
commit9df63a8beaae53802109346f0a20328140a7cb8e (patch)
treecbf1d551e38d63e5d578fb48a7b2d8b213b68205 /absl/base/internal/raw_logging.cc
parente92505d8d6bf50c5d44805eb5fe73e9f56484cf4 (diff)
Cast away an unused variable to play nice with -Wunused-but-set-variable.
PiperOrigin-RevId: 449351955 Change-Id: Id30280107bb29f7d715327b99a2c954809513a48
Diffstat (limited to 'absl/base/internal/raw_logging.cc')
-rw-r--r--absl/base/internal/raw_logging.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/absl/base/internal/raw_logging.cc b/absl/base/internal/raw_logging.cc
index 8c49f9a6..54e71a3f 100644
--- a/absl/base/internal/raw_logging.cc
+++ b/absl/base/internal/raw_logging.cc
@@ -174,6 +174,7 @@ void RawLogVA(absl::LogSeverity severity, const char* file, int line,
#else
static_cast<void>(format);
static_cast<void>(ap);
+ static_cast<void>(enabled);
#endif
// Abort the process after logging a FATAL message, even if the output itself