[PATCH] d3d9: initialize hr (coverity)

Marcus Meissner marcus at jet.franken.de
Tue Jan 27 16:27:04 CST 2009


On Tue, Jan 27, 2009 at 03:52:29PM +0100, Alexandre Julliard wrote:
> Marcus Meissner <marcus at jet.franken.de> writes:
> 
> > Spotted in CID 864 that hr is used uninitialized
> > in a codepath. Using S_OK as default return.
> 
> Is S_OK really appropriate here?  A test case is probably in order.

Done. Works also with native d3d9.dll... Although I am not sure
0 is invalid though.

Ciao, Marcus



More information about the wine-patches mailing list