Skip to content

Commit

Permalink
Common: delete accidental dead branch (Coverity)
Browse files Browse the repository at this point in the history
CID 135586 in widget_hotkey_list: logically dead code

This code was added accidentally; it is both dead and unnecessary, and so was
removed.
  • Loading branch information
Chris Pavlina committed Mar 6, 2016
1 parent ba038ac commit b9be9a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions common/widgets/widget_hotkey_list.cpp
Expand Up @@ -436,8 +436,6 @@ void WIDGET_HOTKEY_LIST::OnSize( wxSizeEvent& aEvent )

if( hk_column_width < HOTKEY_MIN_WIDTH )
hk_column_width = HOTKEY_MIN_WIDTH;
else if( hk_column_width <= 0 )
hk_column_width = 1;

int name_column_width = rect.width - hk_column_width - HORIZ_MARGIN;

Expand Down

0 comments on commit b9be9a4

Please sign in to comment.