Fix compilation with clang on ArchLinux
* lib/gettext.h: Remove useless use of NULL.
This commit is contained in:
parent
c1d6d13d6e
commit
b91ba58bbe
1 changed files with 2 additions and 2 deletions
|
|
@ -231,7 +231,7 @@ dcpgettext_expr (const char *domain,
|
|||
(msgctxt_len + msgid_len <= sizeof (buf)
|
||||
? buf
|
||||
: (char *) malloc (msgctxt_len + msgid_len));
|
||||
if (msg_ctxt_id != NULL)
|
||||
if (msg_ctxt_id)
|
||||
#endif
|
||||
{
|
||||
int found_translation;
|
||||
|
|
@ -279,7 +279,7 @@ dcnpgettext_expr (const char *domain,
|
|||
(msgctxt_len + msgid_len <= sizeof (buf)
|
||||
? buf
|
||||
: (char *) malloc (msgctxt_len + msgid_len));
|
||||
if (msg_ctxt_id != NULL)
|
||||
if (msg_ctxt_id)
|
||||
#endif
|
||||
{
|
||||
int found_translation;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue