libDtSvc: Resolve 89 compiler warnings.

This commit is contained in:
Peter Howkins
2012-09-01 21:35:10 +01:00
parent 92743e0999
commit e9bb2bcf09
24 changed files with 84 additions and 83 deletions

View File

@@ -259,7 +259,7 @@ char * ExpandPath (
/*** otherwise, make it relative to the current directory ***/
/* get user's current working directory */
if (getcwd(tmpPath, MAXPATHLEN) == NULL) return NULL; /* RETURN: error */
if (getcwd(tmpPath, MAXPATHLEN) == 0) return NULL; /* RETURN: error */
/*** add a slash to end of path component, if needed ***/
/* get end of the string */