Nikolay Sivov : msxml3/tests: Initialize string pointer on default case too (Coverity).

Alexandre Julliard julliard at winehq.org
Mon May 1 16:38:04 CDT 2017


Module: wine
Branch: master
Commit: 870de39ca496216e7f90373e98855bc140c883a1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=870de39ca496216e7f90373e98855bc140c883a1

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sun Apr 30 21:19:57 2017 +0300

msxml3/tests: Initialize string pointer on default case too (Coverity).

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 076114a..fa10a36 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;
        }
 




More information about the wine-cvs mailing list