mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 20:46:01 +01:00
Remove dead code
CID 276638
This commit is contained in:
parent
df800b5f41
commit
9faba797e8
1 changed files with 1 additions and 3 deletions
|
@ -751,7 +751,7 @@ sc_bisect(girara_session_t* session, girara_argument_t* argument,
|
||||||
zathura->bisect.end = cur_page;
|
zathura->bisect.end = cur_page;
|
||||||
direction = FORWARD;
|
direction = FORWARD;
|
||||||
}
|
}
|
||||||
} else if (argument != NULL) {
|
} else {
|
||||||
direction = argument->n;
|
direction = argument->n;
|
||||||
|
|
||||||
/* setup initial bisect range */
|
/* 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.end = MAX(prev_page, cur_page);
|
||||||
zathura->bisect.last_jump = 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);
|
girara_debug("bisecting between %d and %d, at %d", zathura->bisect.start, zathura->bisect.end, cur_page);
|
||||||
|
|
Loading…
Reference in a new issue