dix: remove unused debug code
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Nicolas Peninguy <nico@lostgeeks.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f9834d312e
commit
f1a80e1268
|
@ -66,10 +66,6 @@ Equipment Corporation.
|
|||
#include "dixfont.h"
|
||||
#include "xace.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifdef XF86BIGFONT
|
||||
#include "xf86bigfontsrv.h"
|
||||
#endif
|
||||
|
@ -391,14 +387,6 @@ OpenFont(ClientPtr client, XID fid, Mask flags, unsigned lenfname, char *pfontna
|
|||
int i;
|
||||
FontPtr cached = (FontPtr)0;
|
||||
|
||||
#ifdef FONTDEBUG
|
||||
char *f;
|
||||
f = malloc(lenfname + 1);
|
||||
memmove(f, pfontname, lenfname);
|
||||
f[lenfname] = '\0';
|
||||
ErrorF("[dix] OpenFont: fontname is \"%s\"\n", f);
|
||||
free(f);
|
||||
#endif
|
||||
if (!lenfname || lenfname > XLFDMAXFONTNAMELEN)
|
||||
return BadName;
|
||||
if (patternCache)
|
||||
|
|
Loading…
Reference in New Issue
Block a user