Revision: 2362
          http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2362&view=rev
Author:   teuf
Date:     2009-05-19 13:57:21 +0000 (Tue, 19 May 2009)

Log Message:
-----------
Make sure playcounts is initialized

Modified Paths:
--------------
    libgpod/trunk/ChangeLog
    libgpod/trunk/src/itdb_itunesdb.c

Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog     2009-05-17 17:12:40 UTC (rev 2361)
+++ libgpod/trunk/ChangeLog     2009-05-19 13:57:21 UTC (rev 2362)
@@ -1,3 +1,8 @@
+2009-05-19  Christophe Fergeau  <[email protected]>
+
+       * src/itdb_itunesdb.c: make sure playcounts is initialized before it's
+       used
+
 2009-05-17  Christophe Fergeau  <[email protected]>
 
        * src/itdb_device.c: add info for black Shuffle 4G

Modified: libgpod/trunk/src/itdb_itunesdb.c
===================================================================
--- libgpod/trunk/src/itdb_itunesdb.c   2009-05-17 17:12:40 UTC (rev 2361)
+++ libgpod/trunk/src/itdb_itunesdb.c   2009-05-19 13:57:21 UTC (rev 2362)
@@ -991,7 +991,7 @@
 /* called by init_playcounts */
 static gboolean itunesstats_read (FImport *fimp, FContents *cts)
 {
-    GList* playcounts;
+    GList* playcounts = NULL;
     guint32 entry_num, i=0;
     glong seek;
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to