* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / CommonDialog.cs
index dd201b049a4245b2b5903a9159f1c0da618d0b6c..0ece58929c11119b0caec210e176cd185c127f28 100644 (file)
@@ -105,13 +105,11 @@ namespace System.Windows.Forms {
                }
 
                public DialogResult ShowDialog(IWin32Window ownerWin32) {
-                       DialogResult    result;
-
                        // Prep the dialog
                        RunDialog(form.Handle);
 
                        // Run
-                       result = form.ShowDialog(ownerWin32);
+                       form.ShowDialog(ownerWin32);
 
                        return form.DialogResult;
                }