Merge pull request #486 from nsawa/fix_gcc_warning_unused_variable
Fix gcc warning 'unused variable'.
This commit is contained in:
commit
468065b214
@ -20099,7 +20099,6 @@ nk_widget_height(struct nk_context *ctx)
|
||||
NK_API int
|
||||
nk_widget_is_hovered(struct nk_context *ctx)
|
||||
{
|
||||
int ret;
|
||||
struct nk_rect c, v;
|
||||
struct nk_rect bounds;
|
||||
NK_ASSERT(ctx);
|
||||
@ -20123,7 +20122,6 @@ nk_widget_is_hovered(struct nk_context *ctx)
|
||||
NK_API int
|
||||
nk_widget_is_mouse_clicked(struct nk_context *ctx, enum nk_buttons btn)
|
||||
{
|
||||
int ret;
|
||||
struct nk_rect c, v;
|
||||
struct nk_rect bounds;
|
||||
NK_ASSERT(ctx);
|
||||
@ -20147,7 +20145,6 @@ nk_widget_is_mouse_clicked(struct nk_context *ctx, enum nk_buttons btn)
|
||||
NK_API int
|
||||
nk_widget_has_mouse_click_down(struct nk_context *ctx, enum nk_buttons btn, int down)
|
||||
{
|
||||
int ret;
|
||||
struct nk_rect c, v;
|
||||
struct nk_rect bounds;
|
||||
NK_ASSERT(ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user