[all-commits] [llvm/llvm-project] 54a38c: [ORC] Fix -Wunused-but-set-variable in JITLoaderPe...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Sun Sep 17 22:07:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54a38c9c9c46f39dbd159b26626f6ecc2a7944e9
      https://github.com/llvm/llvm-project/commit/54a38c9c9c46f39dbd159b26626f6ecc2a7944e9
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderPerf.cpp

  Log Message:
  -----------
  [ORC] Fix -Wunused-but-set-variable in JITLoaderPerf.cpp (NFC)

/data/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderPerf.cpp:118:10: error: variable 'Written' set but not used [-Werror,-Wunused-but-set-variable]
  size_t Written = 0;
         ^
1 error generated.




More information about the All-commits mailing list