libdthelp: resolve 46 compiler warnings

This commit is contained in:
Peter Howkins
2012-10-08 15:34:45 +01:00
parent c3c9abd86f
commit cd39eabb18
17 changed files with 45 additions and 43 deletions

View File

@@ -696,7 +696,7 @@ _DtHelpCeExpandPathname (
#define MY_NUM 7
_DtSubstitutionRec mySubs [MY_NUM];
if (spec == NULL || *spec == NULL)
if (spec == NULL || *spec == '\0')
{
errno = EINVAL;
return NULL;
@@ -2404,7 +2404,7 @@ _DtHelpCeGetDocStamp (
{
errno = EINVAL;
_DtHelpProcessUnlock();
return NULL;
return 0;
}
/*