fixed an assertion apparently being in the wrong place
authorDavid Anderson <dvander@alliedmods.net>
Mon Feb 26 07:43:50 2007 +0000 (2007-02-26)
changeset 533b673ed1256bc
parent 532 fe6bb91d79b1
child 534 84a49a6f37db
fixed an assertion apparently being in the wrong place
sourcepawn/compiler/sctracker.c
     1.1 --- a/sourcepawn/compiler/sctracker.c	Mon Feb 26 05:26:54 2007 +0000
     1.2 +++ b/sourcepawn/compiler/sctracker.c	Mon Feb 26 07:43:50 2007 +0000
     1.3 @@ -410,8 +410,8 @@
     1.4    if (codegen)
     1.5    {
     1.6      _stack_genusage(stackusage, 1);
     1.7 +    assert(stackusage->head==NULL);
     1.8    }
     1.9 -  assert(stackusage->head==NULL);
    1.10  
    1.11    oldlist = stackusage->prev;
    1.12    free(stackusage);