hschmidt / EnvPane

EnvPane - An OS X preference pane for environment variables
Other
734 stars 52 forks source link

Unnecessary invocation of envlib_unsetenv() when no variables present #3

Closed hschmidt closed 11 years ago

hschmidt commented 11 years ago

Because [@"" componentsSeparatedByString:...] returns @[ @"" ] we end up with envlib_unsetenv() being invoked unnecessarily with the empty string.