Fixed warning
This commit is contained in:
@@ -3928,7 +3928,8 @@ ZRESULT TUnzip::Open(void *z,unsigned int len,DWORD flags)
|
||||
{ if (uf!=0 || currentfile!=-1) return ZR_NOTINITED;
|
||||
//
|
||||
#ifdef ZIP_STD
|
||||
getcwd(rootdir,MAX_PATH-1);
|
||||
char* buf = getcwd(rootdir,MAX_PATH-1);
|
||||
if (buf==0) return ZR_NOFILE;
|
||||
#else
|
||||
#ifdef GetCurrentDirectory
|
||||
GetCurrentDirectory(MAX_PATH-1,rootdir);
|
||||
|
||||
Reference in New Issue
Block a user