summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-02-03 19:49:09 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-02-03 19:49:09 +0000
commit5c73c61aa2c80c7266a0526e1564700edb15836a (patch)
tree62934bb49ed117b0305ae57be03e0b3b13c30b45
parentee75f5b3addaa6e2989a2dabbd2d49fed71d19c8 (diff)
downloadnetsurf-5c73c61aa2c80c7266a0526e1564700edb15836a.tar.gz
netsurf-5c73c61aa2c80c7266a0526e1564700edb15836a.tar.bz2
Remove extra debug list padding
-rwxr-xr-xamiga/object.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/amiga/object.c b/amiga/object.c
index f071cceb8..3ccd50b60 100755
--- a/amiga/object.c
+++ b/amiga/object.c
@@ -31,16 +31,9 @@
struct MinList *NewObjList(void)
{
-
- struct MinList *objlist;
-
- objlist = (struct MinList *)AllocVecTagList(sizeof(struct MinList) + 10, NULL);
-#warning List structure allocation is larger than necessary for debugging ^^^^
-
+ struct MinList *objlist = (struct MinList *)AllocVecTagList(sizeof(struct MinList), NULL);
NewMinList(objlist);
-
return(objlist);
-
}
struct nsObject *AddObject(struct MinList *objlist, ULONG otype)