[all-commits] [llvm/llvm-project] e71bae: [clang][dataflow] Fix build failure due to -Wunuse...

Jie Fu via All-commits all-commits at lists.llvm.org
Mon Jul 24 06:36:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e71bae94b04391cb47680622666d448418c0d972
      https://github.com/llvm/llvm-project/commit/e71bae94b04391cb47680622666d448418c0d972
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-07-24 (Mon, 24 Jul 2023)

  Changed paths:
    M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp

  Log Message:
  -----------
  [clang][dataflow] Fix build failure due to -Wunused-variable in DataflowEnvironment.cpp (NFC)

/data/llvm-project/clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:125:11: error: unused variable 'StructVal2' [-Werror,-Wunused-variable]
    auto *StructVal2 = cast<StructValue>(&Val2);
          ^
1 error generated.




More information about the All-commits mailing list