[all-commits] [llvm/llvm-project] fe1941: [X86] Fix an unused-variable warnig (NFC)

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Thu Jul 17 04:23:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe1941967267e472f7eee15b43712bdfa2b63544
      https://github.com/llvm/llvm-project/commit/fe1941967267e472f7eee15b43712bdfa2b63544
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2025-07-17 (Thu, 17 Jul 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86CallingConv.cpp

  Log Message:
  -----------
  [X86] Fix an unused-variable warnig (NFC)

/llvm-project/llvm/lib/Target/X86/X86CallingConv.cpp:392:12:
error: unused variable 'NumRegs' [-Werror,-Wunused-variable]
  unsigned NumRegs = PendingMembers.size();
           ^
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