From: Petr Hosek Date: Sat, 15 Sep 2018 06:25:17 +0000 (+0000) Subject: [XRay] Remove the unused variable X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e8b4de3b3ab0ad27ef27ce948e00e3a3b26aa3c;p=platform%2Fupstream%2Fllvm.git [XRay] Remove the unused variable This broke the fdr-single-thread test after FDRLoggingOptions struct has been removed in r342318. llvm-svn: 342320 --- 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 71aa02d..fb65ad8 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);