fetcher: Remove "total_requests" counter
Incremented, but not used for anything.
This commit is contained in:
parent
97efe12ac6
commit
581b7d6183
|
|
@ -72,7 +72,6 @@ struct OstreeFetcher
|
||||||
GHashTable *output_stream_set; /* set<GOutputStream> */
|
GHashTable *output_stream_set; /* set<GOutputStream> */
|
||||||
|
|
||||||
guint64 total_downloaded;
|
guint64 total_downloaded;
|
||||||
guint total_requests;
|
|
||||||
|
|
||||||
/* Queue for libsoup, see bgo#708591 */
|
/* Queue for libsoup, see bgo#708591 */
|
||||||
GQueue pending_queue;
|
GQueue pending_queue;
|
||||||
|
|
@ -610,8 +609,6 @@ ostree_fetcher_request_uri_internal (OstreeFetcher *self,
|
||||||
|
|
||||||
g_assert_no_error (local_error);
|
g_assert_no_error (local_error);
|
||||||
|
|
||||||
self->total_requests++;
|
|
||||||
|
|
||||||
out:
|
out:
|
||||||
g_object_unref (task);
|
g_object_unref (task);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue