From 2f269f4df0e2a3032f467f8a8680cb8a18d76c2b Mon Sep 17 00:00:00 2001 From: Naoyuki Sawa Date: Wed, 8 Nov 2017 09:05:46 +0900 Subject: [PATCH] Fix: gcc warning unused variable. --- nuklear.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/nuklear.h b/nuklear.h index 45dc3a7..f8b57e6 100644 --- a/nuklear.h +++ b/nuklear.h @@ -18964,7 +18964,6 @@ NK_API void nk_window_set_position(struct nk_context *ctx, const char *name, struct nk_vec2 pos) { - struct nk_rect bounds; struct nk_window *win = nk_window_find(ctx, name); if (!win) return; win->bounds.x = pos.x; @@ -18975,7 +18974,6 @@ NK_API void nk_window_set_size(struct nk_context *ctx, const char *name, struct nk_vec2 size) { - struct nk_rect bounds; struct nk_window *win = nk_window_find(ctx, name); if (!win) return; win->bounds.w = size.x;