[MN-dev] [mndiff]: r177 - trunk/ffvotetov/ffvotetov.c

michael subversion at mplayerhq.hu
Fri Dec 18 19:52:51 CET 2009


Author: michael
Date: Fri Dec 18 19:52:51 2009
New Revision: 177

Log:
Remove unused variables

Modified:
   trunk/ffvotetov/ffvotetov.c

Modified: trunk/ffvotetov/ffvotetov.c
==============================================================================
--- trunk/ffvotetov/ffvotetov.c	Fri Dec 18 19:50:50 2009	(r176)
+++ trunk/ffvotetov/ffvotetov.c	Fri Dec 18 19:52:51 2009	(r177)
@@ -245,7 +245,6 @@ void print_irv(void){
 
 void add_vote(int vote[CANDIDATES_MAX]){
     int j,k;
-    int irv_count=0;
 
     irv= realloc(irv, sizeof(*irv)*(vote_count+1));
     if(!irv){
@@ -278,8 +277,7 @@ void add_vote(int vote[CANDIDATES_MAX]){
 }
 
 int main(){
-    int i,j, k, num, cand_idx;
-    int64_t max;
+    int j, k, num, cand_idx;
     char line[1000], *p;
     int vote[CANDIDATES_MAX]={0};
 


More information about the Mndiff-dev mailing list