On Wed, Apr 16, 2025 at 4:04 PM Tom Lane <t...@sss.pgh.pa.us> wrote: > Looking through all of the callers of freeJsonLexContext, quite > a lot of them use local JsonLexContext structs, and probably some > of them are more performance-critical than these. So that raises > the question of why are we seeing warnings for only these call > sites?
Yeah, I had the same question... > Maybe there is a more elegant way to suppress them. Can we brute-force ignore this particular warning site with a #pragma (suggested in [1])? --Jacob [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98753