Alexandre Julliard : mf/tests: Initialize variable to avoid spurious test failure.

Alexandre Julliard julliard at winehq.org
Thu May 30 16:27:12 CDT 2019


Module: wine
Branch: master
Commit: 838965a75b77cd0cfa6721ec2cf15653cf7dd496
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=838965a75b77cd0cfa6721ec2cf15653cf7dd496

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu May 30 15:04:34 2019 +0200

mf/tests: Initialize variable to avoid spurious test failure.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mf/tests/mf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/mf/tests/mf.c b/dlls/mf/tests/mf.c
index 18aafe2..f37ac7c 100644
--- a/dlls/mf/tests/mf.c
+++ b/dlls/mf/tests/mf.c
@@ -1237,6 +1237,7 @@ todo_wine {
     ok(hr == S_OK, "Failed to get attribute key, hr %#x.\n", hr);
     ok(IsEqualGUID(&guid, &MF_TOPOLOGY_RESOLUTION_STATUS), "Unexpected key %s.\n", wine_dbgstr_guid(&guid));
 }
+    value = 0xdeadbeef;
     hr = IMFTopology_GetUINT32(full_topology, &MF_TOPOLOGY_RESOLUTION_STATUS, &value);
 todo_wine {
     ok(hr == S_OK, "Failed to get attribute, hr %#x.\n", hr);




More information about the wine-cvs mailing list