]> git.ipfire.org Git - thirdparty/gettext.git/commit
Silence "potential null pointer dereference" warnings.
authorBruno Haible <bruno@clisp.org>
Sat, 3 Jun 2023 11:56:37 +0000 (13:56 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 4 Jun 2023 13:54:10 +0000 (15:54 +0200)
commit1db874bef9099274a13b359e04a30504fae2081a
tree4e3004cd566093b74e3de08936c0fda9a5d54d6d
parentad878a8fe5f252c78b28dac20dd61f77d6e0e716
Silence "potential null pointer dereference" warnings.

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.
gettext-tools/src/xg-arglist-context.c