([NSAutoreleasePool +autoreleaseCountForObject:]): Initialize count to 0.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@511 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-08-02 15:40:33 +00:00
parent bb42696426
commit 829722ea98

View file

@ -84,7 +84,7 @@ static unsigned pool_count_warning_threshhold = UINT_MAX;
/* This method not in OpenStep */ /* This method not in OpenStep */
+ (unsigned) autoreleaseCountForObject: anObject + (unsigned) autoreleaseCountForObject: anObject
{ {
unsigned count; unsigned count = 0;
id pool = current_pool; id pool = current_pool;
while (pool) while (pool)
{ {