[InterNetNews/inn] 3880cb: xmalloc: Suppress GCC warnings

Julien ÉLIE noreply at github.com
Fri Jan 26 21:20:07 UTC 2024


  Branch: refs/heads/main
  Home:   https://github.com/InterNetNews/inn
  Commit: 3880cb231db2a9188a962194bb2045cd77853933
      https://github.com/InterNetNews/inn/commit/3880cb231db2a9188a962194bb2045cd77853933
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2024-01-26 (Fri, 26 Jan 2024)

  Changed paths:
    M lib/xmalloc.c

  Log Message:
  -----------
  xmalloc: Suppress GCC warnings

The latest GCC produces incorrect warnings about using the pointer
passed to realloc and reallocarray when the functions return NULL.
Suppress that warning, and change the call syntax for the error
handler to avoid tickling a bug in clang-format.

Patch from upstream (rra-c-util).




More information about the inn-committers mailing list