mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 10:11:03 +00:00
Fixed uninitialised variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4568 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
280d5afaef
commit
fecea60761
1 changed files with 1 additions and 1 deletions
|
@ -639,10 +639,10 @@ handle_printf_atsign (FILE *stream,
|
||||||
unsigned count;
|
unsigned count;
|
||||||
const unsigned char *b;
|
const unsigned char *b;
|
||||||
|
|
||||||
|
z = fastZone(self);
|
||||||
if (len < 2)
|
if (len < 2)
|
||||||
return [self initWithCStringNoCopy: 0 length: 0 fromZone: z];
|
return [self initWithCStringNoCopy: 0 length: 0 fromZone: z];
|
||||||
|
|
||||||
z = fastZone(self);
|
|
||||||
b=[data bytes];
|
b=[data bytes];
|
||||||
u = NSZoneMalloc(z, sizeof(unichar)*(len+1));
|
u = NSZoneMalloc(z, sizeof(unichar)*(len+1));
|
||||||
if (encoding==NSUnicodeStringEncoding)
|
if (encoding==NSUnicodeStringEncoding)
|
||||||
|
|
Loading…
Reference in a new issue