emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adjust gtkutil.c to build with gcc (GCC) 11.2.1 with -Wanalyzer-null


From: Eli Zaretskii
Subject: Re: Adjust gtkutil.c to build with gcc (GCC) 11.2.1 with -Wanalyzer-null-argument
Date: Wed, 01 Sep 2021 15:26:43 +0300

> From: Alexander Kuleshov <kuleshovmail@gmail.com>
> Date: Wed, 1 Sep 2021 16:52:55 +0600
> 
> gtkutil.c: In function ‘xg_item_label_same_p’:
> gtkutil.c:2936:54: error: use of NULL where non-null expected
> [CWE-476] [-Werror=analyzer-null-argument]
>  2936 |                   && ((!old_label && !utf8_label) || strcmp
> (utf8_label, old_label) == 0));

Isn't this a GCC bug?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]