[gupnp] test: Remove dead code
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] test: Remove dead code
- Date: Wed, 9 Jun 2021 21:59:16 +0000 (UTC)
commit 859f5dbf69b9624dd2fb332a8f983530ae040a64
Author: Jens Georg <mail jensge org>
Date: Sun May 30 11:39:43 2021 +0200
test: Remove dead code
tests/gtest/test-context.c | 9 ---------
1 file changed, 9 deletions(-)
---
diff --git a/tests/gtest/test-context.c b/tests/gtest/test-context.c
index 1210f7b..0dbd400 100644
--- a/tests/gtest/test-context.c
+++ b/tests/gtest/test-context.c
@@ -62,15 +62,6 @@ request_range_and_compare (GMappedFile *file,
full_length = g_mapped_file_get_length (file);
- /* interpretation according to SoupRange documentation */
- if (want_end == -1) {
- if (want_start < 0)
- want_length = -want_start;
- else
- want_length = full_length - want_start;
- } else
- want_length = want_end - want_start + 1;
-
message = soup_message_new ("GET", uri);
g_object_ref (message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]