changeset 2288:64a9db251832 trunk

[svn] - fix uninitialized integer, that was bringing troubles if the last playlist item was not available for playback
author giacomo
date Sat, 06 Jan 2007 12:33:11 -0800
parents 553fba80ac58
children dcac9f84176d
files ChangeLog audacious/playback.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jan 05 19:25:19 2007 -0800
+++ b/ChangeLog	Sat Jan 06 12:33:11 2007 -0800
@@ -1,3 +1,11 @@
+2007-01-06 03:25:19 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [3582]
+  - update to objective-make II
+  
+  trunk/mk/objective.mk |   78 ++++++++++++++++++++++++++++++++++++++++++++------
+  1 file changed, 69 insertions(+), 9 deletions(-)
+
+
 2007-01-06 02:56:29 +0000  William Pitcock <nenolod@nenolod.net>
   revision [3580]
   - use -Wl,-h for defining the SONAME for POSIX compatibility
--- a/audacious/playback.c	Fri Jan 05 19:25:19 2007 -0800
+++ b/audacious/playback.c	Sat Jan 06 12:33:11 2007 -0800
@@ -85,7 +85,7 @@
 {
     PlaylistEntry *entry = NULL;
     Playlist *playlist = playlist_get_active();
-    int penalty;
+    gint penalty = 0;
 
     if (playlist_get_length(playlist) == 0)
         return;