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 Dec 22, 2021
1 parent 91d70d8 commit f2dc465
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 @@ -21317,8 +21317,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 f2dc465

Please sign in to comment.