[gnome-software/gnome-3-22] snap: Remove an unused variable
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-22] snap: Remove an unused variable
- Date: Fri, 27 Oct 2017 03:26:28 +0000 (UTC)
commit cb03ff9fdc915f45cf7abe5cc18ffb8493fdb02b
Author: Robert Ancell <robert ancell canonical com>
Date: Fri Oct 27 14:48:42 2017 +1300
snap: Remove an unused variable
src/plugins/gs-snapd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-snapd.c b/src/plugins/gs-snapd.c
index 6fa8235..834e105 100644
--- a/src/plugins/gs-snapd.c
+++ b/src/plugins/gs-snapd.c
@@ -115,7 +115,7 @@ send_request (const gchar *method,
g_autoptr (GString) request = NULL;
gssize n_written;
g_autoptr (GByteArray) buffer = NULL;
- gsize data_length = 0, header_length, body_offset = 0;
+ gsize data_length = 0, body_offset = 0;
g_autoptr (SoupMessageHeaders) headers = NULL;
gsize chunk_length = 0, n_required, chunk_offset;
guint code;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]