mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 21:07:39 +00:00
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:
parent
52b39d8923
commit
12bbf00d16
6 changed files with 52 additions and 30 deletions
|
@ -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--;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue