defsubckt(), check `s' beeing nowhere used anymore

This commit is contained in:
rlar 2016-05-08 19:00:19 +02:00
parent a46e1113d0
commit 82d4f8544c
1 changed files with 2 additions and 2 deletions

View File

@ -507,13 +507,13 @@ defsubckt(dico_t *dico, struct card *card, nupa_type categ)
to enter subcircuit (categ=U) and model (categ=O) names
*/
{
const char * const s = card->line;
const char * const s_ = card->line;
int w = card->linenum;
bool err;
const char *i_ptr, *j_ptr;
i_ptr = s;
i_ptr = s_;
while (*i_ptr && (*i_ptr != '.'))
i_ptr++; /* skip 1st dotword */