expand_libs(): rename `tmp_ptr2' --> `next'

This commit is contained in:
rlar 2013-02-24 19:50:55 +01:00
parent d8d80482da
commit fdf4d87ea7
1 changed files with 2 additions and 3 deletions

View File

@ -200,16 +200,15 @@ expand_section_references(int line_number)
if (found_section && ciprefix(".endl", buffer)) {
struct line *tmp_ptr2;
struct line *next = working->li_next;
/* Make the .endl a comment */
*buffer = '*';
found_section = FALSE;
/* set pointer and continue to avoid deleting below */
tmp_ptr2 = working->li_next;
working->li_next = tmp_ptr;
working = tmp_ptr2;
working = next;
/* end = working;
* working = working->li_next;