dtlogin: start to resolve static analysis warnings
Also convert some K&R function declarations to ansi
This commit is contained in:
@@ -58,7 +58,7 @@ static int PathInZList(char *path, char *fplist, int listlen);
|
||||
static int SeparateParts( char **path );
|
||||
|
||||
|
||||
static
|
||||
static void
|
||||
DebugFontPath(char *note, char **path, int nelems)
|
||||
{
|
||||
int i;
|
||||
@@ -182,6 +182,8 @@ ApplyFontPathMods( struct display *d, Display *dpy )
|
||||
if (fph) free(fph);
|
||||
if (fpt) free(fpt);
|
||||
XFreeFontPath(fontPath);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* ___________________________________________________________________
|
||||
|
||||
Reference in New Issue
Block a user