Index: /trunk/include/VBox/com/ptr.h
===================================================================
--- /trunk/include/VBox/com/ptr.h	(revision 68014)
+++ /trunk/include/VBox/com/ptr.h	(revision 68015)
@@ -288,11 +288,7 @@
             if (m_p)
                 return m_p->QueryInterface(COM_IIDOF(T2), (void **)pp);
-            else
-            {
-                *pp = NULL;
-                return S_OK;
-            }
+            *pp = NULL;
+            return S_OK;
         }
-
         return E_INVALIDARG;
     }
