fix logic error in test

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37550 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2014-01-07 10:37:20 +00:00
parent 0809ec6608
commit 7a55fc9773

View file

@ -36,11 +36,10 @@ int main()
[associatedObjectTestAllocatedObject new];
associatedObjectTestAssociatedObject *info =
[[associatedObjectTestAssociatedObject new] autorelease];
// silence -Wunused-variable
[info description];
[associatedObjectTestAssociatedObject new];
objc_setAssociatedObject(object, &objc_setAssociatedObjectKey, info,
OBJC_ASSOCIATION_RETAIN);
[info release];
[object release];
PASS(AssociatedObjectDeallocCalled == YES,