]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/automtn.cpp
made mutexes recursive under Unix as well as under Win32
[wxWidgets.git] / src / msw / ole / automtn.cpp
index 9ea5f213aac1e4d09b415d4387b9c4027515188c..a5c49e721bb4d6668f22b3ecede9d5f19cdd62bd 100644 (file)
@@ -435,13 +435,9 @@ WXIDISPATCH* wxAutomationObject::GetDispatchProperty(const wxString& property, i
                {
                        return (WXIDISPATCH*) retVariant.GetVoidPtr();
                }
-               else
-               {
-                       return (WXIDISPATCH*) NULL;
-               }
        }
-       else
-               return (WXIDISPATCH*) NULL;
+
+       return (WXIDISPATCH*) NULL;
 }
 
 // A way of initialising another wxAutomationObject with a dispatch object