Lars Ingebrigtsen writes: > This patch series seems to introduce the following warnings? > > xdisp.c: In function ‘normal_char_ascent_descent’: > xdisp.c:26433:13: warning: potential null pointer dereference [-Wnull-dereference] > if (!(pcm->width == 0 && pcm->rbearing == 0 && pcm->lbearing == 0)) > ~~~^~~~~~~ > xdisp.c: In function ‘gui_produce_glyphs’: > xdisp.c:28482:15: warning: potential null pointer dereference [-Wnull-dereference] > if (pcm->width == 0 > ~~~^~~~~~~ > xdisp.c:28745:16: warning: potential null pointer dereference [-Wnull-dereference] > if (pcm->width == 0 > ~~~^~~~~~~ Hmm, this is weird: the warnings seem to be legitimate (get_per_char_metric can return NULL), but I don't see how my patch would _introduce_ these warnings. Also, I don't get these warnings; what's your compiler version? If it's GCC 9, perhaps the warning detection has improved. I don't suppose you happened to update your compiler at the same time as updating your local branch? It's good to plug these anyway, but it would be nice to figure out why they're only popping up now. The below diff should silence the warnings.