From: Matthew Fernandez Date: Sat, 30 Oct 2021 16:34:38 +0000 (-0700) Subject: smyrna: remove an open coded NULL X-Git-Tag: 2.50.0~51^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0221c08383d5615d67195d8a5c3050978edc050;p=graphviz smyrna: remove an open coded NULL --- diff --git a/lib/glcomp/glcompfont.c b/lib/glcomp/glcompfont.c index 5d832fd5b..b881bc365 100644 --- a/lib/glcomp/glcompfont.c +++ b/lib/glcomp/glcompfont.c @@ -15,6 +15,7 @@ #include #include #include +#include static void print_bitmap_string(void *font, char *s) { @@ -60,7 +61,7 @@ glCompFont *glNewFont (glCompSet * s, char *text, glCompColor * c,glCompFontType if (font->type == gluttext) font->glutfont = DEFAULT_GLUT_FONT; else - font->glutfont = (void *) 0; + font->glutfont = NULL; font->fontdesc = strdup(fontdesc); font->size = fs;