mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
avoid coverity warning
This commit is contained in:
parent
93d4576871
commit
32f306b615
1 changed files with 5 additions and 1 deletions
|
@ -52,6 +52,7 @@
|
|||
#ifdef HAVE_LIBXML
|
||||
|
||||
#import "GNUstepBase/GSObjCRuntime.h"
|
||||
#import "GNUstepBase/NSDebug+GNUstepBase.h"
|
||||
#import "GNUstepBase/NSObject+GNUstepBase.h"
|
||||
#import "GNUstepBase/GSMime.h"
|
||||
#import "GNUstepBase/GSXML.h"
|
||||
|
@ -997,7 +998,10 @@ static NSMapTable *nodeNames = 0;
|
|||
1,
|
||||
1,
|
||||
"utf-8");
|
||||
xmlOutputBufferFlush(buf);
|
||||
if (xmlOutputBufferFlush(buf) < 0)
|
||||
{
|
||||
NSDebugMLog(@"Failed to flush XML description");
|
||||
}
|
||||
#if LIBXML_VERSION < 20900
|
||||
string = UTF8StrLen(buf->buffer->content, buf->buffer->use);
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue