Remove fish_wcstoi decl - fix style

This commit is contained in:
Aaron Gyes
2016-09-10 14:55:27 -07:00
parent b17ebb4551
commit ae32d0288b
2 changed files with 3 additions and 4 deletions

View File

@@ -90,8 +90,9 @@ bool builtin_data_t::operator<(const builtin_data_t *other) const {
///
int builtin_count_args(const wchar_t *const *argv) {
int argc;
for (argc = 1; argv[argc] != NULL; argc++)
;
for (argc = 1; argv[argc] != NULL;){
argc++;
}
assert(argv[argc] == NULL);
return argc;