- more code cleanup based on suggestions from cppcheck

This commit is contained in:
Mark Vejvoda
2012-10-18 08:16:47 +00:00
parent 829a72db35
commit e86cb3aeff
16 changed files with 63 additions and 56 deletions

View File

@@ -183,9 +183,8 @@ ftpSession_S* ftpGetSession(int id)
LOCAL int normalizePath(char* path)
{
char *in;
char *r = NULL;
char *r = path;
r = path;
in = path;
while((in = strchr(in, '/')))