Remove set but unused variable

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38693 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2015-06-26 08:52:23 +00:00
parent f4ed6b91c2
commit 50ea8586fa
2 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,9 @@
* Source/cifframe.m
Minor include fixes to avoid malloc.h warnings on OpenBSD.
* Source/NSScanner.m
Remove set but unused variable.
2015-06-22 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/Additions.h:

View file

@ -1243,7 +1243,6 @@ GSScanDouble(unichar *buf, unsigned length, double *result)
int exponent = 0;
BOOL negativeMantissa = NO;
BOOL negativeExponent = NO;
BOOL extra = NO;
unsigned pos = 0;
int mantissaLength;
int dotPos = -1;
@ -1303,7 +1302,6 @@ GSScanDouble(unichar *buf, unsigned length, double *result)
/* Mantissa too long ... ignore excess.
*/
mantissaLength = 18;
extra = YES;
}
if (dotPos < 0)
{