[all-commits] [llvm/llvm-project] 3b285f: [llvm-profgen] Fix a set-but-unused warning

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Oct 29 10:20:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b285ff5172c734240a96a12bd7a2d125136efef
      https://github.com/llvm/llvm-project/commit/3b285ff5172c734240a96a12bd7a2d125136efef
  Author: Kazu Hirata <kazu at google.com>
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
    M llvm/tools/llvm-profgen/ProfiledBinary.cpp

  Log Message:
  -----------
  [llvm-profgen] Fix a set-but-unused warning

This patch fixes:

  llvm/tools/llvm-profgen/ProfiledBinary.cpp:357:12: error: variable
  'EndOffset' set but not used [-Werror,-Wunused-but-set-variable]

The last use of the variable was removed on Oct 26 in commit
40ca4112515d03bbcf594bd2dfa6b4394d5b00d6.




More information about the All-commits mailing list