We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
void list_remove(list_t *list, int index) { int valid_index = list_inner_adjust_index(index, list_size(list)); iterator_t *list_iterator(list); for (int i = 0; i < valid_index; ++i) { iterator_next(iter); } iterator_remove(iter); iterator_delete(iter); }
iterator_t *list_iterator(list); is wrong and should probably be iter_t *iter = list_iterator(list);
iterator_t *list_iterator(list);
iter_t *iter = list_iterator(list);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
iterator_t *list_iterator(list);
is wrong and should probably beiter_t *iter = list_iterator(list);
The text was updated successfully, but these errors were encountered: