From: Matthew Fernandez Date: Wed, 19 May 2021 03:08:09 +0000 (-0700) Subject: remove an open coded NULL X-Git-Tag: 2.47.3~23^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10bfe89da0a8e7c6197dd4fa203a8496ba2d8952;p=graphviz remove an open coded NULL --- diff --git a/lib/glcomp/glcomptexture.c b/lib/glcomp/glcomptexture.c index a9e56c264..7f95bd963 100644 --- a/lib/glcomp/glcomptexture.c +++ b/lib/glcomp/glcomptexture.c @@ -102,8 +102,7 @@ glCompTex *glCompSetAddNewTexLabel(glCompSet * s, char *def, int fs, int ind, Er, width, height; glCompTex *t; cairo_surface_t *surface = NULL; - unsigned char *data; - data = (unsigned char *) 0; + unsigned char *data = NULL; Er = 0; if (!def) return NULL;