[mkbundle] Fix compiler warnings.
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Thu, 10 Dec 2015 09:44:55 +0000 (10:44 +0100)
committerRolf Bjarne Kvinge <rolf@xamarin.com>
Wed, 23 Dec 2015 11:01:40 +0000 (12:01 +0100)
mcs/tools/mkbundle/mkbundle.cs

index 697ab87701763c3a80e830741c9ddf90fb0b7b7a..dbf21c44beb0b90cc5fb273b8e9215601c27eae8 100755 (executable)
@@ -575,7 +575,7 @@ void          mono_register_config_for_assembly (const char* assembly_name, cons
                                }
                        
                                assemblies.Add (a.CodeBase);
-                       } catch (Exception e) {
+                       } catch (Exception) {
                                if (skip_scan) {
                                        Console.WriteLine ("File will not be scanned: {0}", name);
                                        assemblies.Add (new Uri (new FileInfo (name).FullName).ToString ());
@@ -621,7 +621,7 @@ void          mono_register_config_for_assembly (const char* assembly_name, cons
                                if (!QueueAssembly (files, a.CodeBase))
                                        return false;
                        }
-               } catch (Exception e) {
+               } catch (Exception) {
                        if (!skip_scan)
                                throw;
                }