diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-03 20:00:36 +0000 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-03 20:02:02 +0000 |
commit | 5f6a95c7b574c6d0f52e62e2405c550606a5ce75 (patch) | |
tree | b31fc40e29095972db981ed9dc18429dd4aabce7 /forkable_stack.h | |
parent | fadeb66365cb8da2cddf3993ad139736922852ae (diff) |
General cleanup - rename a few things, delete dead code.
Diffstat (limited to 'forkable_stack.h')
-rw-r--r-- | forkable_stack.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/forkable_stack.h b/forkable_stack.h index 5bfad8a9..a94a1ec3 100644 --- a/forkable_stack.h +++ b/forkable_stack.h @@ -15,7 +15,6 @@ struct forkable_stack_header { struct forkable_stack { // Stack grows down from stk+length - char* stk; // stk+length is just past end of allocated area @@ -61,7 +60,6 @@ static void* forkable_stack_push(struct forkable_stack* s, size_t sz_size) { forkable_stack_check(s); int curr = s->pos < s->savedlimit ? s->pos : s->savedlimit; if (curr - size < 0) { - //assert(0); int oldlen = s->length; s->length = (size + oldlen + 1024) * 2; s->stk = realloc(s->stk, s->length); |