remove rem errorlevel it was never set stupied mistake by me.fix call setting errorlevel to 1

svn path=/trunk/; revision=16462
This commit is contained in:
Magnus Olsen 2005-07-06 19:42:41 +00:00
parent 78df6635f5
commit 721be9ec7b
2 changed files with 3 additions and 2 deletions

View file

@ -54,6 +54,8 @@ INT cmd_call (LPTSTR cmd, LPTSTR param)
return 0;
}
nErrorLevel = 1;
n = (LPBATCH_CONTEXT)malloc (sizeof (BATCH_CONTEXT));
if (n == NULL)

View file

@ -71,8 +71,7 @@ INT GetRedirection (LPTSTR s, LPTSTR ifn, LPTSTR ofn, LPTSTR efn, LPINT lpnFlags
lpnFlags = 0;
*ifn=('\0');
*ofn=('\0');
*efn=_T('\0');
nErrorLevel = 9009;
*efn=_T('\0');
return 1;
}
#endif