summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgweather/tests/test_libgweather.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libgweather/tests/test_libgweather.c b/libgweather/tests/test_libgweather.c
index 9d6d6a7..018da20 100644
--- a/libgweather/tests/test_libgweather.c
+++ b/libgweather/tests/test_libgweather.c
@@ -443,8 +443,6 @@ test_metar_weather_stations (void)
g_assert_cmpint (soup_message_get_status (msg), <, 300);
g_assert_nonnull (body);
contents = g_bytes_unref_to_data (body, &bsize);
- contents = g_strndup (contents, bsize);
- g_bytes_unref (body);
#else
g_assert_cmpint (msg->status_code, >=, 200);
g_assert_cmpint (msg->status_code, <, 300);