Browse Source

Fixed warning: variable ‘L1’ set but not used [-Wunused-but-set-variable]

pull/1622/head
Branimir Karadžić 7 years ago
committed by omar
parent
commit
fee6022f0c
  1. 3
      stb_rect_pack.h

3
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;
}

Loading…
Cancel
Save