From fee6022f0c27f19e499fd392b0d20427e6d32b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Mon, 12 Feb 2018 20:00:43 -0800 Subject: [PATCH] =?UTF-8?q?Fixed=20warning:=20variable=20=E2=80=98L1?= =?UTF-8?q?=E2=80=99=20set=20but=20not=20used=20[-Wunused-but-set-variable?= =?UTF-8?q?]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stb_rect_pack.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/stb_rect_pack.h b/stb_rect_pack.h index b1cfdcc41..2b07dcc82 100644 --- a/stb_rect_pack.h +++ b/stb_rect_pack.h @@ -494,17 +494,14 @@ static stbrp__findresult stbrp__skyline_pack_rectangle(stbrp_context *context, i STBRP_ASSERT(cur->next == NULL); { - stbrp_node *L1 = NULL, *L2 = NULL; int count=0; cur = context->active_head; while (cur) { - L1 = cur; cur = cur->next; ++count; } cur = context->free_head; while (cur) { - L2 = cur; cur = cur->next; ++count; }