mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32417 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6641e12d91
commit
aa5229a6cb
31 changed files with 201 additions and 163 deletions
|
@ -282,10 +282,10 @@ NSLog (NSString* format, ...)
|
|||
void
|
||||
NSLogv (NSString* format, va_list args)
|
||||
{
|
||||
NSString *prefix;
|
||||
NSString *message;
|
||||
static int pid = 0;
|
||||
CREATE_AUTORELEASE_POOL(arp);
|
||||
NSString *prefix;
|
||||
NSString *message;
|
||||
static int pid = 0;
|
||||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||
|
||||
if (_NSLog_printf_handler == NULL)
|
||||
{
|
||||
|
@ -357,6 +357,6 @@ NSLogv (NSString* format, va_list args)
|
|||
|
||||
[myLock unlock];
|
||||
|
||||
RELEASE(arp);
|
||||
[arp release];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue