inpcom.c, emphasize a potential bug

This commit is contained in:
rlar 2013-05-18 23:23:38 +02:00
parent 77484595a0
commit 2929b7b885
1 changed files with 1 additions and 0 deletions

View File

@ -2756,6 +2756,7 @@ inp_get_func_from_line(char *line)
*end = '\0';
/* see if already encountered this function */
/* FIXME, this code is unused, which is probably a bug */
for (i = 0; i < num_functions; i++)
if (strcmp(functions[i].name, line) == 0)
break;