Mercurial > hg > xmms-sid
comparison src/xs_stil.c @ 584:20cb21c4cb3c
Optimizations.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 21 Mar 2007 02:33:02 +0000 |
parents | 4333288a0168 |
children | acda6c2f10c8 |
comparison
equal
deleted
inserted
replaced
583:f63a50ec456c | 584:20cb21c4cb3c |
---|---|
176 isMulti = FALSE; | 176 isMulti = FALSE; |
177 tmpNode = NULL; | 177 tmpNode = NULL; |
178 subEntry = 0; | 178 subEntry = 0; |
179 | 179 |
180 while (!isError && fgets(inLine, XS_BUF_SIZE, inFile) != NULL) { | 180 while (!isError && fgets(inLine, XS_BUF_SIZE, inFile) != NULL) { |
181 size_t linePos, eolPos; | 181 size_t linePos = 0; |
182 linePos = eolPos = 0; | |
183 xs_findeol(inLine, &eolPos); | |
184 inLine[eolPos] = 0; | |
185 lineNum++; | 182 lineNum++; |
186 | 183 |
187 switch (tmpLine[0]) { | 184 switch (tmpLine[0]) { |
188 case '/': | 185 case '/': |
189 /* Check if we are already parsing entry */ | 186 /* Check if we are already parsing entry */ |