mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 17:51:01 +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;
|
||||
const unsigned char *b;
|
||||
|
||||
z = fastZone(self);
|
||||
if (len < 2)
|
||||
return [self initWithCStringNoCopy: 0 length: 0 fromZone: z];
|
||||
|
||||
z = fastZone(self);
|
||||
b=[data bytes];
|
||||
u = NSZoneMalloc(z, sizeof(unichar)*(len+1));
|
||||
if (encoding==NSUnicodeStringEncoding)
|
||||
|
|
Loading…
Reference in a new issue