Commit ee2a933c authored by Ulrich Sibiller's avatar Ulrich Sibiller

Xext: fix compiler warning

xf86bigfont.c: In function ‘ProcXF86BigfontQueryFont’: xf86bigfont.c:724:9: warning: ‘pDesc’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (!pDesc) free(pCI);
parent e021bc23
......@@ -418,7 +418,7 @@ ProcXF86BigfontQueryFont(
int nCharInfos;
int shmid;
#ifdef HAS_SHM
ShmDescPtr pDesc;
ShmDescPtr pDesc = NULL;
#else
#define pDesc 0
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment