small optimization

This commit is contained in:
Axel Kohlmeyer
2021-09-15 15:14:52 -04:00
parent f01681eae7
commit 1fdba7280e
4 changed files with 7 additions and 7 deletions

View File

@ -1257,7 +1257,7 @@ void Input::shell()
#else
if (arg[i]) {
std::string vardef(arg[i]);
auto found = vardef.find_first_of("=");
auto found = vardef.find_first_of('=');
if (found == std::string::npos) {
rv = setenv(vardef.c_str(),"",1);
} else {