mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-21 02:20:55 +00:00
Double initialization is not useful, get rid of one
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@37733 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e963f9ca40
commit
701d16f5dc
3 changed files with 10 additions and 5 deletions
|
@ -470,7 +470,7 @@ void addToUsedClasses(NSMutableArray * mutArray,NSSet * knownNames, NSArray * ot
|
||||||
|
|
||||||
EOAttribute * eoAttr = nil;
|
EOAttribute * eoAttr = nil;
|
||||||
EORelationship * eoRel = nil;
|
EORelationship * eoRel = nil;
|
||||||
NSEnumerator * enumer = [classScalarAttributes objectEnumerator];
|
NSEnumerator * enumer;
|
||||||
|
|
||||||
enumer = [classScalarAttributes objectEnumerator];
|
enumer = [classScalarAttributes objectEnumerator];
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2014-03-08 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||||
|
* Apps/EOModelEditor/CodeGenerator.m
|
||||||
|
* EOControl/EOClassDescription.m
|
||||||
|
|
||||||
2012-08-18 German A. Arias <german@xelalug.org>
|
2012-08-18 German A. Arias <german@xelalug.org>
|
||||||
|
|
||||||
* Tools/Makefile.preamble: Add flag -Wl,--allow-shlib-undefined,
|
* Tools/Makefile.preamble: Add flag -Wl,--allow-shlib-undefined,
|
||||||
|
|
|
@ -671,14 +671,15 @@ fromInsertionInEditingContext: (EOEditingContext *)editingContext
|
||||||
|
|
||||||
- (NSString *)userPresentableDescriptionForObject:(id)object
|
- (NSString *)userPresentableDescriptionForObject:(id)object
|
||||||
{
|
{
|
||||||
NSArray *attrArray = [self attributeKeys];
|
NSArray *attrArray;
|
||||||
NSEnumerator *attrEnum = [attrArray objectEnumerator];
|
NSEnumerator *attrEnum;
|
||||||
NSMutableString *values
|
NSMutableString *values;
|
||||||
= [NSMutableString stringWithCapacity: 4 * [attrArray count]];
|
|
||||||
NSString *key;
|
NSString *key;
|
||||||
BOOL init = YES;
|
BOOL init = YES;
|
||||||
|
|
||||||
|
attrArray = [self attributeKeys];
|
||||||
attrEnum = [attrArray objectEnumerator];
|
attrEnum = [attrArray objectEnumerator];
|
||||||
|
values = [NSMutableString stringWithCapacity: 4 * [attrArray count]];
|
||||||
|
|
||||||
while ((key = [attrEnum nextObject]))
|
while ((key = [attrEnum nextObject]))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue