Commit dc8e564f authored by Alexandre Julliard's avatar Alexandre Julliard

kernel: Remove a couple of incorrect asserts.

parent 8b55e4a6
...@@ -399,7 +399,6 @@ BOOL WINAPI SetStdHandle( DWORD std_handle, HANDLE handle ) ...@@ -399,7 +399,6 @@ BOOL WINAPI SetStdHandle( DWORD std_handle, HANDLE handle )
*/ */
VOID WINAPI GetStartupInfoA( LPSTARTUPINFOA info ) VOID WINAPI GetStartupInfoA( LPSTARTUPINFOA info )
{ {
assert(startup_infoA.cb);
memcpy(info, &startup_infoA, sizeof(startup_infoA)); memcpy(info, &startup_infoA, sizeof(startup_infoA));
} }
...@@ -409,7 +408,6 @@ VOID WINAPI GetStartupInfoA( LPSTARTUPINFOA info ) ...@@ -409,7 +408,6 @@ VOID WINAPI GetStartupInfoA( LPSTARTUPINFOA info )
*/ */
VOID WINAPI GetStartupInfoW( LPSTARTUPINFOW info ) VOID WINAPI GetStartupInfoW( LPSTARTUPINFOW info )
{ {
assert(startup_infoW.cb);
memcpy(info, &startup_infoW, sizeof(startup_infoW)); memcpy(info, &startup_infoW, sizeof(startup_infoW));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment