Skip to content

Commit

Permalink
Fix ignoring undeclared variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Hejsil committed Sep 8, 2021
1 parent 1eebb70 commit 1424114
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions nuklear.h
Original file line number Diff line number Diff line change
Expand Up @@ -21233,8 +21233,6 @@ nk_layout_row_calculate_usable_space(const struct nk_style *style,
float panel_space;
struct nk_vec2 spacing;

NK_UNUSED(type);

spacing = style->window.spacing;

/* calculate the usable panel space */
Expand Down
2 changes: 0 additions & 2 deletions src/nuklear_layout.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ nk_layout_row_calculate_usable_space(const struct nk_style *style,
float panel_space;
struct nk_vec2 spacing;

NK_UNUSED(type);

spacing = style->window.spacing;

/* calculate the usable panel space */
Expand Down

0 comments on commit 1424114

Please sign in to comment.