Remove redundant check

This commit is contained in:
Sebastian Ramacher 2016-08-02 11:36:41 +02:00
parent d913eda04a
commit 945929ce5f

View file

@ -99,7 +99,7 @@ zathura_jumplist_trim(zathura_t* zathura)
--zathura->jumplist.size; --zathura->jumplist.size;
} }
if (zathura->jumplist.size == 0 || (zathura->jumplist.size != 0 && zathura->jumplist.cur != NULL)) { if (zathura->jumplist.size == 0 || zathura->jumplist.cur != NULL) {
girara_list_iterator_free(cur); girara_list_iterator_free(cur);
} else { } else {
zathura->jumplist.cur = cur; zathura->jumplist.cur = cur;