On Apr 2, 2008, at 7:34PM, Chris Suter wrote:
int var __attribute__((__unused__));
Or use the following short cut found in cdefs.h. #define __unused __attribute__((__unused__)) Which would make my example look like this which seems to work well. int __unused error = foo(); NSAssert(error == 0, @"We have an assertion failure!"); Thanks to everyone for their comments. I learned something. Regards, Richard _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]