]> git.eshelyaron.com Git - emacs.git/commitdiff
Pacify Ubuntu GCC 13.2 in set_marker_internal
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 6 Jan 2024 21:38:13 +0000 (13:38 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 6 Jan 2024 21:40:38 +0000 (13:40 -0800)
* src/marker.c (set_marker_internal): Ignore
-Wanalyzer-deref-before-check, to work around GCC bug 113253.

src/marker.c

index 377f6fbe8db475ae74debdaa332480329f1c7cf0..0101e144b4d69a70fa58668f7375328c4fca1075 100644 (file)
@@ -20,6 +20,11 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
 
 #include <config.h>
 
+/* Work around GCC bug 113253.  */
+#if 13 <= __GNUC__
+# pragma GCC diagnostic ignored "-Wanalyzer-deref-before-check"
+#endif
+
 #include "lisp.h"
 #include "character.h"
 #include "buffer.h"