Skip to content
Commit b8e8bb32 authored by Siddhesh Poyarekar's avatar Siddhesh Poyarekar
Browse files

xmalloc: Fix warnings with gcc analyzer



Tell the compiler that xmalloc family of allocators always return
non-NULL.  xrealloc in locale/programs also always returns non-NULL,
but that conflicts with default realloc behaviour and that of xrealloc
in libsupport, so keep it as is for now and resolve the differences
later.

Reviewed-by: default avatarFlorian Weimer <fweimer@redhat.com>
parent 4aedc25f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment