Pinpointed by gcc 13 warning:
warning: potential null pointer dereference [-Wnull-dereference]
* gettext-tools/src/xg-arglist-context.c: Include verify.h.
(flag_context_list_table_add): Assert that the entry is non-NULL.
#include "xalloc.h"
#include "xmalloca.h"
+#include "verify.h"
/* Null context. */
}
else
{
+ /* We don't put NULL entries into the table. */
+ assume (entry != NULL);
+
flag_context_list_ty *list = (flag_context_list_ty *)entry;
flag_context_list_ty **lastp = NULL;
/* Invariant: list == (lastp != NULL ? *lastp : entry). */