Alexandre Julliard : kernel: Remove a couple of incorrect asserts.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Mar 23 13:50:11 CST 2006


Module: wine
Branch: refs/heads/master
Commit: dc8e564f9e72c657bc3f97706eafc50d5dacad8a
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=dc8e564f9e72c657bc3f97706eafc50d5dacad8a

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Mar 23 17:07:27 2006 +0100

kernel: Remove a couple of incorrect asserts.

---

 dlls/kernel/environ.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/kernel/environ.c b/dlls/kernel/environ.c
index ecae8fe..424e02a 100644
--- a/dlls/kernel/environ.c
+++ b/dlls/kernel/environ.c
@@ -399,7 +399,6 @@ BOOL WINAPI SetStdHandle( DWORD std_hand
  */
 VOID WINAPI GetStartupInfoA( LPSTARTUPINFOA info )
 {
-    assert(startup_infoA.cb);
     memcpy(info, &startup_infoA, sizeof(startup_infoA));
 }
 
@@ -409,7 +408,6 @@ VOID WINAPI GetStartupInfoA( LPSTARTUPIN
  */
 VOID WINAPI GetStartupInfoW( LPSTARTUPINFOW info )
 {
-    assert(startup_infoW.cb);
     memcpy(info, &startup_infoW, sizeof(startup_infoW));
 }
 




More information about the wine-cvs mailing list