dtpad: Resolve 6 compiler warnings.

This commit is contained in:
Peter Howkins
2012-08-30 22:40:55 +01:00
parent 2a9b4ec67c
commit 237fa4a599
3 changed files with 6 additions and 6 deletions

View File

@@ -211,7 +211,7 @@ PrintOutputCreate(Widget shell)
_poDefaultMargin,
_poDefaultMargin,
&parseError );
assert(parseError == NULL);
assert(parseError == 0);
return pOutput;
}
@@ -783,7 +783,7 @@ _poGetFileContents(char **contents, char *file)
int nbytes;
FILE *fp = NULL;
if (file == NULL || *file == NULL) return
if (file == NULL || *file == '\0') return
/*
* Open the file for reading.