[all-commits] [llvm/llvm-project] 8c6668: [llvm-exegesis] Fix -Wunused-variable in Benchmark...

Jie Fu via All-commits all-commits at lists.llvm.org
Tue Jun 20 19:20:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c6668fa42dba59ddc286ba256d71c1b9c5228b8
      https://github.com/llvm/llvm-project/commit/8c6668fa42dba59ddc286ba256d71c1b9c5228b8
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-06-21 (Wed, 21 Jun 2023)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp

  Log Message:
  -----------
  [llvm-exegesis] Fix -Wunused-variable in BenchmarkRunner.cpp (NFC)

/data/llvm-project/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp:275:9: error: unused variable 'ParentPIDFD' [-Werror,-Wunused-variable]
    int ParentPIDFD = syscall(SYS_pidfd_open, ParentPID, 0);
        ^
1 error generated.




More information about the All-commits mailing list