@@ -1666,9 +1712,8 @@
  */
 VOID SYSLINK_Register (void)
 {
-    WNDCLASSW wndClass;
+    WNDCLASSW wndClass = {0};

-    ZeroMemory (&wndClass, sizeof(wndClass));
     wndClass.style         = CS_GLOBALCLASS | CS_VREDRAW | CS_HREDRAW;
     wndClass.lpfnWndProc   = SysLinkWindowProc;
     wndClass.cbClsExtra    = 0;


Is there a reason this change wasn't applied? Calling ZeroMemory is
slower and prevents certain optimizations by the compiler.

- Thomas


Reply via email to