dtlogin: start to resolve static analysis warnings

Also convert some K&R function declarations to ansi
This commit is contained in:
Peter Howkins
2014-12-23 17:49:11 +00:00
parent 29294e0373
commit e54c164fe1
13 changed files with 215 additions and 317 deletions

View File

@@ -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;
}
/* ___________________________________________________________________