[all-commits] [llvm/llvm-project] 0e2400: [clang] Fix warning about unused variable [NFC]

mikaelholmen via All-commits all-commits at lists.llvm.org
Wed Feb 1 23:04:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e2400ae025d33dd3dbe9f9da52ab2da776e92fd
      https://github.com/llvm/llvm-project/commit/0e2400ae025d33dd3dbe9f9da52ab2da776e92fd
  Author: Mikael Holmen <mikael.holmen at ericsson.com>
  Date:   2023-02-02 (Thu, 02 Feb 2023)

  Changed paths:
    M clang/lib/Sema/AnalysisBasedWarnings.cpp

  Log Message:
  -----------
  [clang] Fix warning about unused variable [NFC]

gcc warned about
 ../../clang/lib/Sema/AnalysisBasedWarnings.cpp:2187:23: warning: unused variable 'FC' [-Wunused-variable]
  2187 |       if (const auto *FC = dyn_cast<CallExpr>(Operation)) {
       |                       ^~




More information about the All-commits mailing list