poldek: poldek/pkgdir/pndir/pndir.c - 'variable may be used uninit...

mis mis at pld-linux.org
Mon Aug 21 17:41:21 CEST 2006


Author: mis                          Date: Mon Aug 21 15:41:21 2006 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- 'variable may be used uninitialized in this function'

---- Files affected:
poldek/poldek/pkgdir/pndir:
   pndir.c (1.34 -> 1.35) 

---- Diffs:

================================================================
Index: poldek/poldek/pkgdir/pndir/pndir.c
diff -u poldek/poldek/pkgdir/pndir/pndir.c:1.34 poldek/poldek/pkgdir/pndir/pndir.c:1.35
--- poldek/poldek/pkgdir/pndir/pndir.c:1.34	Sat Mar 18 19:11:34 2006
+++ poldek/poldek/pkgdir/pndir/pndir.c	Mon Aug 21 17:41:16 2006
@@ -663,7 +663,7 @@
 int do_load(struct pkgdir *pkgdir, unsigned ldflags)
 {
     struct pndir       *idx;
-    struct pkg         *pkg;
+    struct pkg         *pkg = NULL;
     struct pkg_offs    pkgo;
     struct pkg_data    *pkgd;
     struct tndb_it     it;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/poldek/poldek/pkgdir/pndir/pndir.c?r1=1.34&r2=1.35&f=u



More information about the pld-cvs-commit mailing list