Silence a warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4070
This commit is contained in:
parent
06c91d8d0b
commit
6485a80102
1 changed files with 2 additions and 1 deletions
|
@ -796,7 +796,8 @@ void DOS_Shell::CMD_SET(char * args) {
|
|||
*p_parsed++ = '%'; p += 2; //%% => %
|
||||
} else {
|
||||
char * second = strchr(++p,'%');
|
||||
if(!second) continue; *second++ = 0;
|
||||
if (!second) continue;
|
||||
*second++ = 0;
|
||||
std::string temp;
|
||||
if (GetEnvStr(p,temp)) {
|
||||
std::string::size_type equals = temp.find('=');
|
||||
|
|
Loading…
Add table
Reference in a new issue