Author: mhutch
Date: 2008-01-23 17:38:08 -0500 (Wed, 23 Jan 2008)
New Revision: 93727

Modified:
   branches/monodevelop/main/1.0/src/addins/CBinding/ChangeLog
   branches/monodevelop/main/1.0/src/addins/CBinding/Compiler/GNUCompiler.cs
Log:
2008-01-22  Marcos David Mar?\195?\173n Amador <[EMAIL PROTECTED]> 

        * Compiler/GNUCompiler.cs: Removed useless code.



Modified: branches/monodevelop/main/1.0/src/addins/CBinding/ChangeLog
===================================================================
--- branches/monodevelop/main/1.0/src/addins/CBinding/ChangeLog 2008-01-23 
22:37:43 UTC (rev 93726)
+++ branches/monodevelop/main/1.0/src/addins/CBinding/ChangeLog 2008-01-23 
22:38:08 UTC (rev 93727)
@@ -1,3 +1,7 @@
+2008-01-22  Marcos David Marín Amador <[EMAIL PROTECTED]> 
+
+       * Compiler/GNUCompiler.cs: Removed useless code.
+
 2008-01-18  Marcos David Marín Amador <[EMAIL PROTECTED]> 
 
        * Parser/TagDatabaseManager.cs: Cache tags into a hash table and see if 
they

Modified: 
branches/monodevelop/main/1.0/src/addins/CBinding/Compiler/GNUCompiler.cs
===================================================================
--- branches/monodevelop/main/1.0/src/addins/CBinding/Compiler/GNUCompiler.cs   
2008-01-23 22:37:43 UTC (rev 93726)
+++ branches/monodevelop/main/1.0/src/addins/CBinding/Compiler/GNUCompiler.cs   
2008-01-23 22:38:08 UTC (rev 93727)
@@ -591,17 +591,13 @@
                {
                        TextReader reader = new StringReader (errorString);
                        string next;
-                       Queue<CompilerError> queue = new Queue<CompilerError> 
();
                                
                        while ((next = reader.ReadLine ()) != null) {
                                CompilerError error = 
CreateErrorFromErrorString (next);
                                if (error != null)
-                                       queue.Enqueue (error);
+                                       cr.Errors.Add (error);
                        }
                        
-                       while (queue.Count > 0)
-                               cr.Errors.Add (queue.Dequeue ());
-                       
                        reader.Close ();
                }
                
@@ -651,17 +647,13 @@
                {
                        TextReader reader = new StringReader (errorString);
                        string next;
-                       Queue<CompilerError> queue = new Queue<CompilerError> 
();
                        
                        while ((next = reader.ReadLine ()) != null) {
                                CompilerError error = 
CreateLinkerErrorFromErrorString (next);
                                if (error != null)
-                                       queue.Enqueue (error);
+                                       cr.Errors.Add (error);
                        }
                        
-                       while (queue.Count > 0)
-                               cr.Errors.Add (queue.Dequeue ());
-                       
                        reader.Close ();
                }
                

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to