poldek: poldek/capreqidx.c - cleanup

mis mis at pld-linux.org
Tue Jan 22 13:32:50 CET 2008


Author: mis                          Date: Tue Jan 22 12:32:50 2008 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- cleanup

---- Files affected:
poldek/poldek:
   capreqidx.c (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: poldek/poldek/capreqidx.c
diff -u poldek/poldek/capreqidx.c:1.18 poldek/poldek/capreqidx.c:1.19
--- poldek/poldek/capreqidx.c:1.18	Thu Jul 12 23:29:26 2007
+++ poldek/poldek/capreqidx.c	Tue Jan 22 13:32:45 2008
@@ -1,5 +1,5 @@
 /* 
-  Copyright (C) 2000 Pawel A. Gajda (mis at k2.net.pl)
+  Copyright (C) 2000 - 2008 Pawel A. Gajda (mis at pld-linux.org)
  
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License published by
@@ -89,13 +89,12 @@
 #endif        
         
     } else {
-        register int i;
-
         if (ent->_size == 1)    /* crent_pkgs is NOT allocated */
             capreq_idx_ent_transform_to_array(ent);
 
 #if 0                           /* not happens in fact */
         if (idx->flags & CAPREQ_IDX_CAP) { /* check for duplicates */
+            register int i;
             for (i=0; i < ent->items; i++) { 
                 if (pkg == ent->crent_pkgs[i])
                     return 1;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/capreqidx.c?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list