diff options
author | Dan Winship <danw@src.gnome.org> | 2007-01-16 20:54:02 +0000 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2007-01-16 20:54:02 +0000 |
commit | 81f32b5bd943b95c7282935a261a07f61fda094c (patch) | |
tree | 5b9c38820b5e5a4de8c14982020f2cc3d45d6c81 | |
parent | f5f56c38db5a3918e9d7f4157b37ecda97b89bfd (diff) | |
download | libsoup-81f32b5bd943b95c7282935a261a07f61fda094c.tar.gz |
initialize "errors" to 0. duh. Pointed out by Michael Wolf.
* tests/header-parsing.c (do_request_tests, do_response_tests):
initialize "errors" to 0. duh. Pointed out by Michael Wolf.
svn path=/trunk/; revision=908
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/header-parsing.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2007-01-16 Dan Winship <danw@novell.com> + + * tests/header-parsing.c (do_request_tests, do_response_tests): + initialize "errors" to 0. duh. Pointed out by Michael Wolf. + 2007-01-08 Dan Winship <danw@novell.com> * configure.in: 2.2.99 diff --git a/tests/header-parsing.c b/tests/header-parsing.c index 4e4d4677..782967b9 100644 --- a/tests/header-parsing.c +++ b/tests/header-parsing.c @@ -450,7 +450,7 @@ free_headers (gpointer value) static int do_request_tests (void) { - int i, len, h, errors; + int i, len, h, errors = 0; char *method, *path; GSList *values; SoupHttpVersion version; @@ -530,7 +530,7 @@ do_request_tests (void) static int do_response_tests (void) { - int i, len, h, errors; + int i, len, h, errors = 0; guint status_code; char *reason_phrase; GSList *values; |