Skip to content

Commit

Permalink
update name of local variable for autorelease pool
Browse files Browse the repository at this point in the history
  • Loading branch information
aharren committed Jun 7, 2011
1 parent ceff221 commit 38d429f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LCLNSLog.h
Expand Up @@ -53,14 +53,14 @@

// Definition of _lcl_logger.
#define _lcl_logger(log_component, log_level, log_format, ...) { \
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; \
NSAutoreleasePool *_lcl_logger_pool = [[NSAutoreleasePool alloc] init]; \
NSLog(@"%s %s:%@:%d:%s " log_format, \
_lcl_level_header_1[log_level], \
_lcl_component_header[log_component], \
[@__FILE__ lastPathComponent], \
__LINE__, \
__PRETTY_FUNCTION__, \
## __VA_ARGS__); \
[pool release]; \
[_lcl_logger_pool release]; \
}

0 comments on commit 38d429f

Please sign in to comment.