[all-commits] [llvm/llvm-project] 1c8ba2: [flang] Silence warning in release builds

David Spickett via All-commits all-commits at lists.llvm.org
Fri Apr 26 01:59:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c8ba24da884b612125aafed98f67f41883dc24c
      https://github.com/llvm/llvm-project/commit/1c8ba24da884b612125aafed98f67f41883dc24c
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M flang/include/flang/Runtime/descriptor.h

  Log Message:
  -----------
  [flang] Silence warning in release builds

/home/david.spickett/llvm-project/flang/include/flang/Runtime/descriptor.h:458:30: warning: variable 'addendum' set but not used [-Wunused-but-set-variable]
  458 |     if (DescriptorAddendum * addendum{descriptor().Addendum()}) {
      |

The if body is purely asserts.



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