diff options
author | biouman <biouman> | 2001-05-02 02:11:13 +0000 |
---|---|---|
committer | biouman <biouman> | 2001-05-02 02:11:13 +0000 |
commit | 1664dc1e19d9533a81f78b120637d99cf04d9195 (patch) | |
tree | 6aeecf6e012bd663579442fa121bc138a045795d | |
parent | 1d17018d7ba4f5bd51af5277542b437050a44c7d (diff) |
*** empty log message ***
-rw-r--r-- | lib/fonctions.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/fonctions.c b/lib/fonctions.c index ab3024c..fcb55fe 100644 --- a/lib/fonctions.c +++ b/lib/fonctions.c @@ -42,16 +42,15 @@ static func_t func_table[] = { void appel_fonction(char *nom, int arite, polynome p1, polynome p2, polynome p3) { - int i; + int i=0; int trouve = 0; - polynome temp; while (func_table[i].nom) { if( strcmp(func_table[i].nom, nom)) trouve = 1; i++; } - if (trouve) + if (trouve) { if (func_table[i].arite==arite) { (*func_table[i].func)(p1, p2, p3); } else { |