mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 01:00:38 +00:00
Removed dead assignments found by static code analyser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32551 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0a2f6bd2df
commit
b7d056ae43
15 changed files with 52 additions and 58 deletions
|
@ -100,7 +100,6 @@
|
|||
float vAccumulator = 0.0;
|
||||
NSEnumerator *e = [[self subviews] objectEnumerator];
|
||||
NSView *layoutedView = nil;
|
||||
int lastRow = 0;
|
||||
int index = 0;
|
||||
|
||||
// Loop over all subviews
|
||||
|
@ -132,12 +131,11 @@
|
|||
maxHeight -= vAccumulator;
|
||||
hAccumulator = 0.0;
|
||||
vAccumulator = height;
|
||||
lastRow = index;
|
||||
}
|
||||
|
||||
[layoutedView setFrameOrigin: NSMakePoint(hAccumulator,
|
||||
maxHeight - vAccumulator)];
|
||||
[layoutedView setAutoresizingMask:NSViewMinYMargin];
|
||||
[layoutedView setAutoresizingMask:NSViewMinYMargin];
|
||||
hAccumulator += width;
|
||||
index++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue