From: Paul Eggert Date: Tue, 31 May 2022 08:19:32 +0000 (-0700) Subject: Pacify GCC 12 in dump_queue_enqueue X-Git-Tag: emacs-29.0.90~1910^2~319^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0614e0f3e9e1b8e10463f6e1e470a82585b2f7c0;p=emacs.git Pacify GCC 12 in dump_queue_enqueue * src/pdumper.c (dump_queue_enqueue): Use BASE_EQ, not EQ. This pacifies GCC 12 -Wanalyzer-null-dereference. --- diff --git a/src/pdumper.c b/src/pdumper.c index 88e7b311a89..0efd5cfb0bb 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -1069,7 +1069,7 @@ dump_queue_enqueue (struct dump_queue *dump_queue, } } - if (!EQ (weights, orig_weights)) + if (!BASE_EQ (weights, orig_weights)) Fputhash (object, weights, dump_queue->link_weights); }