inpcom.c: cleanup

This commit is contained in:
rlar 2013-02-24 19:12:24 +01:00
parent 24a0bca9b9
commit bf09f55f51
1 changed files with 3 additions and 2 deletions

View File

@ -125,8 +125,9 @@ find_section(int i, char *s) {
static void
remember_section_ref(int i, char *y, struct line *c) {
section_ref[i][num_sections[i]] = c;
section_name[i][num_sections[i]++] = strdup(y);
int k = num_sections[i]++;
section_ref[i][k] = c;
section_name[i][k] = strdup(y);
}