Removed a few compiler warnings found by gcc 4.6

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34344 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2011-12-22 09:16:04 +00:00
parent 52b39d8923
commit 12bbf00d16
6 changed files with 52 additions and 30 deletions

View file

@ -498,7 +498,6 @@ Private method used internally by GSLayoutManager for sanity checking.
-(void) _generateRunsToCharacter: (unsigned int)last
{
glyph_run_head_t *context[SKIP_LIST_DEPTH];
int positions[SKIP_LIST_DEPTH];
glyph_run_head_t *h;
unsigned int pos;
unsigned int length;
@ -518,7 +517,6 @@ Private method used internally by GSLayoutManager for sanity checking.
{
while (h->next) pos += h->char_length, h = h->next;
context[level - 1] = h;
positions[level - 1] = pos;
h++;
}
h--;