[all-commits] [llvm/llvm-project] a7f152: [Bitcode] Fix -Wunused-but-set-variable in Bitcode...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Fri Sep 6 16:54:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7f152f59b1d64c6e1698fc68ffff40c4911e11a
      https://github.com/llvm/llvm-project/commit/a7f152f59b1d64c6e1698fc68ffff40c4911e11a
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-09-07 (Sat, 07 Sep 2024)

  Changed paths:
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp

  Log Message:
  -----------
  [Bitcode] Fix -Wunused-but-set-variable in BitcodeReader.cpp (NFC)

/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:7795:16:
error: variable 'EntryCount' set but not used [-Werror,-Wunused-but-set-variable]
      uint64_t EntryCount = 0;
               ^
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