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>
This commit is contained in:
parent
cacad1df98
commit
259b517f2b
|
@ -717,11 +717,7 @@ static void InternetCrackUrlW_test(void)
|
||||||
ok( comp.dwExtraInfoLength == 29, "extra length wrong\n");
|
ok( comp.dwExtraInfoLength == 29, "extra length wrong\n");
|
||||||
|
|
||||||
urlpart[0]=0;
|
urlpart[0]=0;
|
||||||
scheme[0]=0;
|
|
||||||
extra[0]=0;
|
|
||||||
host[0]=0;
|
host[0]=0;
|
||||||
user[0]=0;
|
|
||||||
pwd[0]=0;
|
|
||||||
memset(&comp, 0, sizeof comp);
|
memset(&comp, 0, sizeof comp);
|
||||||
comp.dwStructSize = sizeof comp;
|
comp.dwStructSize = sizeof comp;
|
||||||
comp.lpszHostName = host;
|
comp.lpszHostName = host;
|
||||||
|
@ -739,11 +735,7 @@ static void InternetCrackUrlW_test(void)
|
||||||
ok( comp.dwExtraInfoLength == 0, "extra length wrong\n");
|
ok( comp.dwExtraInfoLength == 0, "extra length wrong\n");
|
||||||
|
|
||||||
urlpart[0]=0;
|
urlpart[0]=0;
|
||||||
scheme[0]=0;
|
|
||||||
extra[0]=0;
|
|
||||||
host[0]=0;
|
host[0]=0;
|
||||||
user[0]=0;
|
|
||||||
pwd[0]=0;
|
|
||||||
memset(&comp, 0, sizeof comp);
|
memset(&comp, 0, sizeof comp);
|
||||||
comp.dwStructSize = sizeof comp;
|
comp.dwStructSize = sizeof comp;
|
||||||
comp.lpszHostName = host;
|
comp.lpszHostName = host;
|
||||||
|
|
Loading…
Reference in New Issue