Browse Source

Merge branch 'rectpack-warnings' of https://github.com/ocornut/stb into working

Sean Barrett 6 years ago
parent
commit
841c8b0f55
1 changed files with 0 additions and 3 deletions
  1. 0 3
      stb_rect_pack.h

+ 0 - 3
stb_rect_pack.h

@@ -492,17 +492,14 @@ static stbrp__findresult stbrp__skyline_pack_rectangle(stbrp_context *context, i
    STBRP_ASSERT(cur->next == NULL);
    STBRP_ASSERT(cur->next == NULL);
 
 
    {
    {
-      stbrp_node *L1 = NULL, *L2 = NULL;
       int count=0;
       int count=0;
       cur = context->active_head;
       cur = context->active_head;
       while (cur) {
       while (cur) {
-         L1 = cur;
          cur = cur->next;
          cur = cur->next;
          ++count;
          ++count;
       }
       }
       cur = context->free_head;
       cur = context->free_head;
       while (cur) {
       while (cur) {
-         L2 = cur;
          cur = cur->next;
          cur = cur->next;
          ++count;
          ++count;
       }
       }