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:
Fred Kiefer 2011-03-13 15:26:20 +00:00
parent 0a2f6bd2df
commit b7d056ae43
15 changed files with 52 additions and 58 deletions

View file

@ -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++;
}