Author: gonzalo
Date: 2005-04-07 18:21:12 -0400 (Thu, 07 Apr 2005)
New Revision: 42659

Modified:
   trunk/mcs/tools/mono-service/mono-service.cs
Log:
fix the build on windows

Modified: trunk/mcs/tools/mono-service/mono-service.cs
===================================================================
--- trunk/mcs/tools/mono-service/mono-service.cs        2005-04-07 21:48:46 UTC 
(rev 42658)
+++ trunk/mcs/tools/mono-service/mono-service.cs        2005-04-07 22:21:12 UTC 
(rev 42659)
@@ -124,7 +124,7 @@
                
                try {
                        a = Assembly.LoadFrom (assembly);
-               } catch (FileNotFoundException fnf) {
+               } catch (FileNotFoundException) {
                        error ("Could not find assembly {0}", assembly);
                        return 1;
                } catch (BadImageFormatException){
@@ -175,7 +175,7 @@
 
                // Start up the service.
 
-               ServiceBase service;
+               ServiceBase service = null;
                
                if (name != null){
                        foreach (ServiceBase svc in services){

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

Reply via email to