kernel32/tests: initialize a few variables

Dan Kegel dank at kegel.com
Sat Jun 14 22:24:33 CDT 2008


Initialize a few fields in a struct which weren't always getting set.

Fixes five warnings like:

 Syscall param write(buf) points to uninitialised byte(s)
    at  (within /lib/ld-2.7.so)
    by  WriteFile (file.c:559)
    by  save_blackbox (debugger.c:72)
    by  doDebugger (debugger.c:184)
    by  func_debugger (debugger.c:403)
    by  run_test (test.h:421)
    by  main (test.h:470)
  Address 0x7f22fdb8 is on thread 1's stack
  Uninitialised value was created by a stack allocation
    at  doDebugger (debugger.c:131)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel32-debugger.patch
Type: text/x-diff
Size: 1292 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080614/f1c6e87f/attachment-0001.patch 


More information about the wine-patches mailing list