[ostree] fetcher: Remove "total_requests" counter
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] fetcher: Remove "total_requests" counter
- Date: Tue, 1 Dec 2015 17:51:50 +0000 (UTC)
commit 581b7d61831ccacdc4678127301f86c81db30ccc
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Nov 13 15:45:15 2015 -0500
fetcher: Remove "total_requests" counter
Incremented, but not used for anything.
src/libostree/ostree-fetcher.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/libostree/ostree-fetcher.c b/src/libostree/ostree-fetcher.c
index 25c228b..981f4f4 100644
--- a/src/libostree/ostree-fetcher.c
+++ b/src/libostree/ostree-fetcher.c
@@ -72,7 +72,6 @@ struct OstreeFetcher
GHashTable *output_stream_set; /* set<GOutputStream> */
guint64 total_downloaded;
- guint total_requests;
/* Queue for libsoup, see bgo#708591 */
GQueue pending_queue;
@@ -610,8 +609,6 @@ ostree_fetcher_request_uri_internal (OstreeFetcher *self,
g_assert_no_error (local_error);
- self->total_requests++;
-
out:
g_object_unref (task);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]