expand_libs(): rename `tmp_ptr2' --> `next'
This commit is contained in:
parent
27d68e8db7
commit
bdea094050
|
|
@ -200,16 +200,15 @@ expand_section_references(int line_number)
|
||||||
|
|
||||||
if (found_section && ciprefix(".endl", buffer)) {
|
if (found_section && ciprefix(".endl", buffer)) {
|
||||||
|
|
||||||
struct line *tmp_ptr2;
|
struct line *next = working->li_next;
|
||||||
|
|
||||||
/* Make the .endl a comment */
|
/* Make the .endl a comment */
|
||||||
*buffer = '*';
|
*buffer = '*';
|
||||||
found_section = FALSE;
|
found_section = FALSE;
|
||||||
|
|
||||||
/* set pointer and continue to avoid deleting below */
|
/* set pointer and continue to avoid deleting below */
|
||||||
tmp_ptr2 = working->li_next;
|
|
||||||
working->li_next = tmp_ptr;
|
working->li_next = tmp_ptr;
|
||||||
working = tmp_ptr2;
|
working = next;
|
||||||
|
|
||||||
/* end = working;
|
/* end = working;
|
||||||
* working = working->li_next;
|
* working = working->li_next;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue