diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-14 11:30:00 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-14 11:30:00 +0000 |
| commit | 2e75dae5d6cd693b93f6ad12cc004244b539a9a9 (patch) | |
| tree | 649247632517b7f91928adc987403da98e5f1571 /utils/newparser | |
| parent | cd87971badf61ddc53a534acd44c124d4a2cd026 (diff) | |
| download | rockbox-2e75dae5d6cd693b93f6ad12cc004244b539a9a9.zip rockbox-2e75dae5d6cd693b93f6ad12cc004244b539a9a9.tar.gz rockbox-2e75dae5d6cd693b93f6ad12cc004244b539a9a9.tar.bz2 rockbox-2e75dae5d6cd693b93f6ad12cc004244b539a9a9.tar.xz | |
dont reuse vairbale names
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26845 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/newparser')
| -rw-r--r-- | utils/newparser/handle_tags.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/newparser/handle_tags.c b/utils/newparser/handle_tags.c index 28c4548..c7c1289 100644 --- a/utils/newparser/handle_tags.c +++ b/utils/newparser/handle_tags.c @@ -132,10 +132,10 @@ int handle_tree(struct skin *skin, struct skin_element* tree, struct line *line) if (element->tag && next->type == LINE && element->line == next->line) { - struct line *line = (struct line*)skin_alloc(sizeof(struct line)); - line->update_mode = 0; - line->eat_line_ending = true; - next->data = line; + struct line *newline = (struct line*)skin_alloc(sizeof(struct line)); + newline->update_mode = 0; + newline->eat_line_ending = true; + next->data = newline; } } else if (element->type == LINE && !element->data) |