Commit 945929ce authored by Sebastian Ramacher's avatar Sebastian Ramacher

Remove redundant check

parent d913eda0
...@@ -99,7 +99,7 @@ zathura_jumplist_trim(zathura_t* zathura) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment