From 9faba797e84ccc8c9b64c4997607cd316cebe381 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Fri, 22 Jun 2018 00:25:27 +0200 Subject: [PATCH] Remove dead code CID 276638 --- zathura/shortcuts.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zathura/shortcuts.c b/zathura/shortcuts.c index ff3777d..36beb86 100644 --- a/zathura/shortcuts.c +++ b/zathura/shortcuts.c @@ -751,7 +751,7 @@ sc_bisect(girara_session_t* session, girara_argument_t* argument, zathura->bisect.end = cur_page; direction = FORWARD; } - } else if (argument != NULL) { + } else { direction = argument->n; /* setup initial bisect range */ @@ -787,8 +787,6 @@ sc_bisect(girara_session_t* session, girara_argument_t* argument, zathura->bisect.end = MAX(prev_page, cur_page); zathura->bisect.last_jump = cur_page; } - } else { - return false; } girara_debug("bisecting between %d and %d, at %d", zathura->bisect.start, zathura->bisect.end, cur_page);