Silence a warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4225
This commit is contained in:
parent
b326adff06
commit
e723355b92
1 changed files with 2 additions and 1 deletions
|
@ -104,7 +104,8 @@ bool Overlay_Drive::RemoveDir(char * dir) {
|
|||
} else {
|
||||
Bit16u olderror = dos.errorcode; //FindFirst/Next always set an errorcode, while RemoveDir itself shouldn't touch it if successful
|
||||
DOS_DTA dta(dos.tables.tempdta);
|
||||
dta.SetupSearch(0,(0xff & ~DOS_ATTR_VOLUME),"*.*"); //Fake drive as we don't use it.
|
||||
char stardotstar[4] = {'*', '.', '*', 0};
|
||||
dta.SetupSearch(0,(0xff & ~DOS_ATTR_VOLUME),stardotstar); //Fake drive as we don't use it.
|
||||
bool ret = this->FindFirst(dir,dta,false);// DOS_FindFirst(args,0xffff & ~DOS_ATTR_VOLUME);
|
||||
if (!ret) {
|
||||
//Path not found. Should not be possible due to removedir doing a testdir, but lets be correct
|
||||
|
|
Loading…
Add table
Reference in a new issue