From 68b5ccf4455a51993659b4ccf0ed9fd97fecc7b3 Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 24 Feb 2013 21:01:30 +0100 Subject: [PATCH] inpcom.c: rename local variable names --- src/frontend/inpcom.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 7bcc918a2..202cc722d 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -2380,7 +2380,7 @@ collect_section_references(struct line *deck, char *section_name_) char keep_char1, keep_char2; char *z, *copys = NULL; - int i; + int lib_idx; for (z = y; *z && !isspace(*z) && !isquote(*z); z++) ; @@ -2394,12 +2394,12 @@ collect_section_references(struct line *deck, char *section_name_) if (copys) s = copys; } - i = find_lib(s); - if (i >= 0) - if (find_section(i, y) < 0) { - remember_section_ref(i, y, c); + lib_idx = find_lib(s); + if (lib_idx >= 0) + if (find_section(lib_idx, y) < 0) { + remember_section_ref(lib_idx, y, c); /* see if other libraries referenced */ - collect_section_references(library_deck[i], y); + collect_section_references(library_deck[lib_idx], y); } *line = '*'; /* comment out .lib line */ *t = keep_char1;