[llvm] 2c95e60 - TelemetryTest.cpp: Suppress a warning in #121003 [-Wunused-private-field]
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 23 18:38:01 PST 2024
Author: NAKAMURA Takumi
Date: 2024-12-24T11:34:32+09:00
New Revision: 2c95e60df53ba1a5765b3fad9e8ddaff70f21994
URL: https://github.com/llvm/llvm-project/commit/2c95e60df53ba1a5765b3fad9e8ddaff70f21994
DIFF: https://github.com/llvm/llvm-project/commit/2c95e60df53ba1a5765b3fad9e8ddaff70f21994.diff
LOG: TelemetryTest.cpp: Suppress a warning in #121003 [-Wunused-private-field]
Added:
Modified:
llvm/unittests/Telemetry/TelemetryTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/Telemetry/TelemetryTest.cpp b/llvm/unittests/Telemetry/TelemetryTest.cpp
index f06cee04277fdc..6b37e89f164357 100644
--- a/llvm/unittests/Telemetry/TelemetryTest.cpp
+++ b/llvm/unittests/Telemetry/TelemetryTest.cpp
@@ -193,6 +193,7 @@ class TestManager : public Manager {
Error preDispatch(TelemetryInfo *Entry) override {
Entry->SessionId = SessionId;
+ (void)CurrentContext;
return Error::success();
}
More information about the llvm-commits
mailing list