[all-commits] [llvm/llvm-project] feebcd: [clang] Fix -Wunused-variable in SemaDecl.cpp (NFC)

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Tue Mar 26 05:43:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: feebcd65fb7e0534f5219e05432a05e45aa8cd2a
      https://github.com/llvm/llvm-project/commit/feebcd65fb7e0534f5219e05432a05e45aa8cd2a
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

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

  Log Message:
  -----------
  [clang] Fix -Wunused-variable in SemaDecl.cpp (NFC)

llvm-project/clang/lib/Sema/SemaDecl.cpp:11653:20:
error: unused variable 'OldMVKind' [-Werror,-Wunused-variable]
  MultiVersionKind OldMVKind = OldFD->getMultiVersionKind();
                   ^
1 error generated.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list