shada: Use same iteration end conditions as with other iterators

This commit is contained in:
ZyX
2015-08-17 21:29:13 +03:00
parent b87c65d7b9
commit 127e63fc17
2 changed files with 2 additions and 3 deletions

View File

@@ -20909,7 +20909,6 @@ const void *var_shada_iter(const void *const iter, const char **const name,
hi++;
}
if ((size_t) (hi - hifirst) == hinum) {
*rettv = (typval_T) { .v_type = VAR_UNKNOWN };
return NULL;
}
} else {