Author: gburt Date: Sun Feb 10 21:46:31 2008 New Revision: 3210 URL: http://svn.gnome.org/viewvc/banshee?rev=3210&view=rev
Log: 2008-02-10 Gabriel Burt <[EMAIL PROTECTED]> * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs: Fixed/disabled more compiler warnings. Modified: trunk/banshee/ChangeLog trunk/banshee/src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs ============================================================================== --- trunk/banshee/src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs (original) +++ trunk/banshee/src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs Sun Feb 10 21:46:31 2008 @@ -15,6 +15,8 @@ using Banshee.Collection; using Banshee.Collection.Database; +#pragma warning disable 0169 + namespace Banshee.SmartPlaylist { public class SmartPlaylistCore : IService @@ -32,7 +34,7 @@ private uint event_counter = 0; private bool rate_limited = false; private uint seconds_ratelimited = 0; - private uint ratelimit_timeout_id = 0; + //private uint ratelimit_timeout_id = 0; private DateTime start; private uint timeout_id = 0; @@ -157,7 +159,7 @@ //Console.WriteLine ("rate limited"); rate_limited = true; seconds_ratelimited = 0; - ratelimit_timeout_id = GLib.Timeout.Add((uint)RATE_LIMIT_INTERVAL_MS, OnRateLimitTimer); + //ratelimit_timeout_id = GLib.Timeout.Add((uint)RATE_LIMIT_INTERVAL_MS, OnRateLimitTimer); retval = true; } @@ -193,7 +195,7 @@ if (!rate_limited) { //Console.WriteLine ("NOT rate limited"); last_check = DateTime.Now; - ratelimit_timeout_id = 0; + //ratelimit_timeout_id = 0; } CpuTime = 0; @@ -344,3 +346,5 @@ } } } + +#pragma warning restore 0169 _______________________________________________ SVN-commits-list mailing list (read only) http://mail.gnome.org/mailman/listinfo/svn-commits-list Want to limit the commits to a few modules? Go to above URL, log in to edit your options and select the modules ('topics') you want. Module maintainer? It is possible to set the reply-to to your development mailing list. Email [EMAIL PROTECTED] if interested.