[This would only happen if a request was made to an unhandled path,
which this test doesn't do, but it seems reasonable to return an empty
response rather than crashing. -smcv]
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Dan Winship <danw@gnome.org>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=669479
Bug-NB: NB#297634
GError *error = NULL;
char *query_key;
char *contents;
- gsize length, offset;
+ gsize length = 0, offset;
gboolean empty_response = FALSE;
if (msg->method != SOUP_METHOD_GET) {