[all-commits] [llvm/llvm-project] 3f2f70: [flang] Fix -Wunused-but-set-variable in Bridge.cp...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Fri Apr 5 16:33:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f2f700633bbcc0cb5ada17f5736b43f9c1e426e
      https://github.com/llvm/llvm-project/commit/3f2f700633bbcc0cb5ada17f5736b43f9c1e426e
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-04-06 (Sat, 06 Apr 2024)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp

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

llvm-project/flang/lib/Lower/Bridge.cpp:3775:14:
error: variable 'nbDeviceResidentObject' set but not used [-Werror,-Wunused-but-set-variable]
    unsigned nbDeviceResidentObject = 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