From fdf4d87ea7580d6bcf3a1cc4fb2bf36475111ee1 Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 24 Feb 2013 19:50:55 +0100 Subject: [PATCH] expand_libs(): rename `tmp_ptr2' --> `next' --- src/frontend/inpcom.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 18c31f836..ee66267b5 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -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;