X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fepa.cc;h=4af2029308559273775c628cd058a4180fffc7d7;hb=368a091acdcf0476ed9b3f3b79aab1d77794104e;hp=cfc56921381125dbcc01cdedab53f29e36152c37;hpb=4dc63966f0872efe768dad61eb9b8785d06b92d1;p=ardour.git diff --git a/libs/pbd/epa.cc b/libs/pbd/epa.cc index cfc5692138..4af2029308 100644 --- a/libs/pbd/epa.cc +++ b/libs/pbd/epa.cc @@ -144,12 +144,12 @@ EnvironmentalProtectionAgency::clear () const for (vector::const_iterator e = ecopy.begin(); e != ecopy.end(); ++e) { string::size_type equal = (*e).find_first_of ('='); - + if (equal == string::npos) { /* say what? an environ value without = ? */ continue; } - + string var_name = (*e).substr (0, equal); g_unsetenv(var_name.c_str()); }