Remove some unnecessary assignments.

This commit is contained in:
nicm
2025-09-09 08:49:22 +00:00
parent b21b1ee9af
commit 50dafd6187
4 changed files with 3 additions and 8 deletions

View File

@@ -600,7 +600,6 @@ server_client_check_mouse_in_pane(struct window_pane *wp, u_int px, u_int py,
sb = options_get_number(wo, "pane-scrollbars");
sb_pos = options_get_number(wo, "pane-scrollbars-position");
pane_status = options_get_number(wo, "pane-border-status");
sb_pos = options_get_number(wo, "pane-scrollbars-position");
if (window_pane_show_scrollbar(wp, sb)) {
sb_w = wp->scrollbar_style.width;
@@ -659,10 +658,8 @@ server_client_check_mouse_in_pane(struct window_pane *wp, u_int px, u_int py,
fwp->xoff + fwp->sx >= px))
break;
}
if (fwp != NULL) {
wp = fwp;
if (fwp != NULL)
return (BORDER);
}
}
return (NOWHERE);
}