More cleanup based on static analysis

https://github.com/fish-shell/fish-shell/issues/575
This commit is contained in:
ridiculousfish
2013-02-16 02:38:13 -08:00
parent dc54ec5b2b
commit 4416753df0
7 changed files with 47 additions and 64 deletions

View File

@@ -564,7 +564,7 @@ void parse_util_set_argv(const wchar_t * const *argv, const wcstring_list_t &nam
env_set(L"argv", 0, ENV_LOCAL);
}
if (named_arguments.size())
if (! named_arguments.empty())
{
const wchar_t * const *arg;
size_t i;