[all-commits] [llvm/llvm-project] bceb6a: [StaticAnalyzer] Fix -Wunused-variable in SVals.h ...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Sat Nov 4 16:42:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bceb6a1f2e141be6ed66fa382ee280c2644174fd
      https://github.com/llvm/llvm-project/commit/bceb6a1f2e141be6ed66fa382ee280c2644174fd
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-11-05 (Sun, 05 Nov 2023)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h

  Log Message:
  -----------
  [StaticAnalyzer] Fix -Wunused-variable in SVals.h (NFC)

/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:321:14: error: unused variable 'K' [-Werror,-Wunused-variable]
    SValKind K = data.first.getKind();
             ^
1 error generated.




More information about the All-commits mailing list