poldek: poldek/install3/misc.c - unused var

mis mis at pld-linux.org
Sun May 25 11:13:43 CEST 2008


Author: mis                          Date: Sun May 25 09:13:43 2008 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- unused var

---- Files affected:
poldek/poldek/install3:
   misc.c (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: poldek/poldek/install3/misc.c
diff -u poldek/poldek/install3/misc.c:1.9 poldek/poldek/install3/misc.c:1.10
--- poldek/poldek/install3/misc.c:1.9	Sun May 25 00:56:40 2008
+++ poldek/poldek/install3/misc.c	Sun May 25 11:13:38 2008
@@ -148,7 +148,7 @@
 /* scores must be the same size of n_array_size(pkgs) */
 static void add_arch_scores(int *scores, const tn_array *pkgs)
 {
-    int i, min_score = INT_MAX, nscore;
+    int i, min_score = INT_MAX;
     int *arch_scores;
 
     arch_scores = alloca(n_array_size(pkgs) * sizeof(*arch_scores));
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/install3/misc.c?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list