borders_to_hide doesn't need to be initialized

This commit is contained in:
Orestis Floros 2018-10-04 15:02:37 +03:00
parent 4219eb213b
commit 966915cfb2
No known key found for this signature in database
GPG Key ID: E9AD9F32E401E38F
1 changed files with 1 additions and 3 deletions

View File

@ -504,9 +504,7 @@ void x_draw_decoration(Con *con) {
/* 3: draw a rectangle in border color around the client */
if (p->border_style != BS_NONE && p->con_is_leaf) {
/* We might hide some borders adjacent to the screen-edge */
adjacent_t borders_to_hide = ADJ_NONE;
borders_to_hide = con_adjacent_borders(con) & config.hide_edge_borders;
adjacent_t borders_to_hide = con_adjacent_borders(con) & config.hide_edge_borders;
Rect br = con_border_style_rect(con);
/* These rectangles represent the border around the child window