mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Minor cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32031 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d5e9a52e35
commit
a63d65764c
15 changed files with 137 additions and 53 deletions
|
@ -165,9 +165,11 @@ static NSDecimalNumber *one;
|
|||
|
||||
+ (void) initialize
|
||||
{
|
||||
NSDecimal d;
|
||||
/* Initialize d to an empty structure to avoid compiler warnings.
|
||||
* This also sets d.validNumber to NO ... which is what is actually needed.
|
||||
*/
|
||||
NSDecimal d = { 0 };
|
||||
|
||||
d.validNumber = NO;
|
||||
notANumber = [[self alloc] initWithDecimal: d];
|
||||
NSDecimalMax(&d);
|
||||
maxNumber = [[self alloc] initWithDecimal: d];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue