[all-commits] [llvm/llvm-project] f6eda6: [libc] Fix for unused variable warning (#98086)

Caslyn Tonelli via All-commits all-commits at lists.llvm.org
Mon Jul 8 16:56:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6eda6fb7a335861d8a8ce32ea805830685f218d
      https://github.com/llvm/llvm-project/commit/f6eda6fb7a335861d8a8ce32ea805830685f218d
  Author: Caslyn Tonelli <6718161+Caslyn at users.noreply.github.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/src/__support/block.h

  Log Message:
  -----------
  [libc] Fix for unused variable warning (#98086)

This fixes the `unused variable 'new_inner_size'` warning that arises
when `new_inner_size` is only used by `LIBC_ASSERT` by performing the
calculation directly in the macro.



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