Skip to content

Commit

Permalink
Merge pull request vurtun#329 from DeXP/master
Browse files Browse the repository at this point in the history
Remove unused panel warnings
  • Loading branch information
vurtun authored Jan 22, 2017
2 parents 431e675 + 4a3573b commit 2e9c4ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nuklear.h
Original file line number Diff line number Diff line change
Expand Up @@ -20766,6 +20766,7 @@ nk_popup_begin(struct nk_context *ctx, enum nk_popup_type type,
win = ctx->current;
panel = win->layout;
NK_ASSERT(!(panel->type & NK_PANEL_SET_POPUP) && "popups are not allowed to have popups");
(void)panel;
title_len = (int)nk_strlen(title);
title_hash = nk_murmur_hash(title, (int)title_len, NK_PANEL_POPUP);

Expand Down Expand Up @@ -20860,6 +20861,7 @@ nk_nonblock_begin(struct nk_context *ctx,
win = ctx->current;
panel = win->layout;
NK_ASSERT(!(panel->type & NK_PANEL_SET_POPUP));
(void)panel;
popup = win->popup.win;
if (!popup) {
/* create window for nonblocking popup */
Expand Down

0 comments on commit 2e9c4ee

Please sign in to comment.