[PATCH 2/2] msxml3/tests: Initialize string pointer on default case too (Coverity)

Nikolay Sivov nsivov at codeweavers.com
Sun Apr 30 13:19:57 CDT 2017


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/msxml3/tests/domdoc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index 076114a928..fa10a365f5 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -12086,6 +12086,7 @@ static void test_put_data(void)
               break;
            }
            default:
+              get_data = NULL;
               break;
        }
 
-- 
2.11.0




More information about the wine-patches mailing list