changed character comparisons with NULL
This commit is contained in:
parent
bdb0b550f7
commit
a5f05e8ba0
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ char **argv;
|
||||||
continue;
|
continue;
|
||||||
switch (*p++) {
|
switch (*p++) {
|
||||||
case 'o':
|
case 'o':
|
||||||
if (*p != NULL) {
|
if (*p != '\0') {
|
||||||
aoutpath = p;
|
aoutpath = p;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,7 @@ char **argv;
|
||||||
aoutpath = argv[i];
|
aoutpath = argv[i];
|
||||||
break;
|
break;
|
||||||
case 'T':
|
case 'T':
|
||||||
if (*p != NULL) {
|
if (*p != '\0') {
|
||||||
extern char *tmp_dir;
|
extern char *tmp_dir;
|
||||||
|
|
||||||
tmp_dir = p;
|
tmp_dir = p;
|
||||||
|
|
Loading…
Reference in a new issue