From 9e8b4de3b3ab0ad27ef27ce948e00e3a3b26aa3c Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Sat, 15 Sep 2018 06:25:17 +0000 Subject: [PATCH] [XRay] Remove the unused variable This broke the fdr-single-thread test after FDRLoggingOptions struct has been removed in r342318. llvm-svn: 342320 --- compiler-rt/test/xray/TestCases/Posix/fdr-single-thread.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/compiler-rt/test/xray/TestCases/Posix/fdr-single-thread.cc b/compiler-rt/test/xray/TestCases/Posix/fdr-single-thread.cc index 71aa02d599f3..fb65ad895f70 100644 --- a/compiler-rt/test/xray/TestCases/Posix/fdr-single-thread.cc +++ b/compiler-rt/test/xray/TestCases/Posix/fdr-single-thread.cc @@ -16,8 +16,6 @@ [[clang::xray_always_instrument]] void __attribute__((noinline)) fn() { } int main(int argc, char *argv[]) { - FDRLoggingOptions Opts; - auto status = __xray_log_init_mode("xray-fdr", ""); assert(status == XRayLogInitStatus::XRAY_LOG_INITIALIZED);