2009-07-11 Michael Barker <mike@middlesoft.co.uk>
[mono.git] / mcs / class / Mono.Messaging.RabbitMQ / Test / Mono.Messaging.RabbitMQ / BasicMessagingTest.cs
index 57e02307c4157b903a3caa7a235d7a958af91c9e..3d2e3805baad853da4d486c94731ed0c62f27826 100644 (file)
@@ -118,7 +118,7 @@ namespace MonoTests.Mono.Messaging.RabbitMQ
                                Assert.IsNotNull (pi, "Property not defined: " + property);
                                object o = pi.GetValue (m, null);
                                Assert.Fail (property + ": " + o);
-                       } catch (InvalidOperationException e) {
+                       } catch (InvalidOperationException) {
                        } catch (TargetInvocationException e) {
                                Assert.AreEqual (typeof (InvalidOperationException), 
                                                 e.InnerException.GetType ());
@@ -153,7 +153,7 @@ namespace MonoTests.Mono.Messaging.RabbitMQ
                                Assert.IsNotNull(pi, "Property not defined: " + property);
                                pi.SetValue(m, null, null);
                                Assert.Fail(property);
-                       } catch (InvalidOperationException e) {
+                       } catch (InvalidOperationException) {
                        } catch (TargetInvocationException e) {
                                Assert.AreEqual(exceptionType,
                                                e.InnerException.GetType(),