mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 04:56:00 +01:00
Remove redundant check
This commit is contained in:
parent
d913eda04a
commit
945929ce5f
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ zathura_jumplist_trim(zathura_t* zathura)
|
|||
--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);
|
||||
} else {
|
||||
zathura->jumplist.cur = cur;
|
||||
|
|
Loading…
Reference in a new issue