mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-23 16:51:16 -03:00
Remove fish_wcstoi decl - fix style
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user