From 0614e0f3e9e1b8e10463f6e1e470a82585b2f7c0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 31 May 2022 01:19:32 -0700 Subject: [PATCH] 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. --- src/pdumper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2