banshee r5199 - in trunk/banshee: . tests/Analyzer



Author: gburt
Date: Thu Apr  9 20:31:39 2009
New Revision: 5199
URL: http://svn.gnome.org/viewvc/banshee?rev=5199&view=rev

Log:
2009-04-08  Gabriel Burt  <gabriel burt gmail com>

	* tests/Analyzer/Analyzer.cs: Fix warnings.

Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/tests/Analyzer/Analyzer.cs

Modified: trunk/banshee/tests/Analyzer/Analyzer.cs
==============================================================================
--- trunk/banshee/tests/Analyzer/Analyzer.cs	(original)
+++ trunk/banshee/tests/Analyzer/Analyzer.cs	Thu Apr  9 20:31:39 2009
@@ -74,21 +74,14 @@
                 //ConsoleCrayon.ResetColor ();
 
                 foreach (var tests in unique_tests) {
-                    var count = tests.Count ();
-                    var avg = tests.Average (t => t.Avg);
-                    var min = tests.Min (t => t.Min);
-                    var max = tests.Max (t => t.Max);
-
                     Console.Write ("    {0,-36}", tests.Key);
                     Console.WriteLine ();
 
                     bool first = true;
-                    double first_min = 0, first_avg = 0, first_max = 0;
+                    double first_avg = 0;
                     foreach (var test in tests.OrderBy (t => t.RunTime)) {
                         if (first) {
-                            first_min = test.Min;
                             first_avg = test.Avg;
-                            first_max = test.Max;
                             first = false;
                         }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]