Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused variable #718

Merged
merged 1 commit into from
Oct 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions fvwm/menus.c
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,6 @@ static void size_menu_horizontally(MenuSizingParameters *msp)
Bool done = False;
Bool is_last_object_left = True;
unsigned char columns_placed = 0;
int relief_gap = 0;
int gap_left;
int gap_right;
int chars;
Expand Down Expand Up @@ -1331,7 +1330,6 @@ static void size_menu_horizontally(MenuSizingParameters *msp)
x;
x += relief_thickness +
gap_right;
relief_gap += gap_right;
item_order[used_objects++] =
&(MR_HILIGHT_X_OFFSET(
msp->menu));
Expand All @@ -1354,7 +1352,6 @@ static void size_menu_horizontally(MenuSizingParameters *msp)
* the width in here. */
MR_HILIGHT_WIDTH(msp->menu) = x;
x += gap_right;
relief_gap += gap_left;
item_order[used_objects++] =
&(MR_HILIGHT_WIDTH(msp->menu));
right_objects++;
Expand Down