[all-commits] [llvm/llvm-project] 19f668: [clang] Remove unused variable [NFC]

mikaelholmen via All-commits all-commits at lists.llvm.org
Mon Feb 19 04:04:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19f6689f3bd330c631525a7409bc824d8dc95303
      https://github.com/llvm/llvm-project/commit/19f6689f3bd330c631525a7409bc824d8dc95303
  Author: Mikael Holmen <mikael.holmen at ericsson.com>
  Date:   2024-02-19 (Mon, 19 Feb 2024)

  Changed paths:
    M clang/lib/Analysis/UnsafeBufferUsage.cpp

  Log Message:
  -----------
  [clang] Remove unused variable [NFC]

Without the fix gcc warned like
 ../../clang/lib/Analysis/UnsafeBufferUsage.cpp:2203:26: warning: unused variable 'CArrTy' [-Wunused-variable]
  2203 |   } else if (const auto *CArrTy = Ctx.getAsConstantArrayType(
       |                          ^~~~~~



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