diff options
Diffstat (limited to 'src/os/users.c')
-rw-r--r-- | src/os/users.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/os/users.c b/src/os/users.c index 5972e3f1e8..e7b362637b 100644 --- a/src/os/users.c +++ b/src/os/users.c @@ -26,9 +26,7 @@ int os_get_usernames(garray_T *users) while ((pw = getpwent()) != NULL) { // pw->pw_name shouldn't be NULL but just in case... if (pw->pw_name != NULL) { - if (ga_grow(users, 1) == FAIL) { - return FAIL; - } + ga_grow(users, 1); user = (char *)vim_strsave((char_u*)pw->pw_name); if (user == NULL) { return FAIL; |