Re: gcc 15.1 warnings - jsonb_util.c

2025-04-25 Thread Tom Lane
Erik Rijkers writes: > Compiling gcc 15.1 utters these protests (at least, with > --enable-cassert) that I don't think I saw with gcc 14: Hmm, odd. I tried with gcc 15.0.1 from a fresh Fedora 42 install, and I can reproduce your result: jsonb_util.c: In function 'compareJsonbContainers': jsonb

gcc 15.1 warnings - jsonb_util.c

2025-04-25 Thread Erik Rijkers
Hi, Compiling gcc 15.1 utters these protests (at least, with --enable-cassert) that I don't think I saw with gcc 14: jsonb_util.c: In function ‘compareJsonbContainers’: jsonb_util.c:301:34: warning: ‘va.type’ may be used uninitialized [-Wmaybe-uninitialized] 301 |