Module: wine Branch: master Commit: 259b517f2b929aee40db15ff3654a51496430997 URL: http://source.winehq.org/git/wine.git/?a=commit;h=259b517f2b929aee40db15ff36...
Author: Sebastian Lackner sebastian@fds-team.de Date: Fri Jul 8 12:08:39 2016 +0200
wininet/tests: Avoid unnecessary initialization of variables.
Signed-off-by: Sebastian Lackner sebastian@fds-team.de Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/wininet/tests/url.c | 8 -------- 1 file changed, 8 deletions(-)
diff --git a/dlls/wininet/tests/url.c b/dlls/wininet/tests/url.c index 0af1d77..9be3839 100644 --- a/dlls/wininet/tests/url.c +++ b/dlls/wininet/tests/url.c @@ -717,11 +717,7 @@ static void InternetCrackUrlW_test(void) ok( comp.dwExtraInfoLength == 29, "extra length wrong\n");
urlpart[0]=0; - scheme[0]=0; - extra[0]=0; host[0]=0; - user[0]=0; - pwd[0]=0; memset(&comp, 0, sizeof comp); comp.dwStructSize = sizeof comp; comp.lpszHostName = host; @@ -739,11 +735,7 @@ static void InternetCrackUrlW_test(void) ok( comp.dwExtraInfoLength == 0, "extra length wrong\n");
urlpart[0]=0; - scheme[0]=0; - extra[0]=0; host[0]=0; - user[0]=0; - pwd[0]=0; memset(&comp, 0, sizeof comp); comp.dwStructSize = sizeof comp; comp.lpszHostName = host;