[libgdata/clang: 6/8] [core] Remove a dead assignment



commit 853f42fc175c8778a74f8a1027024ddc80df6531
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Sat Aug 7 19:28:02 2010 +0100

    [core] Remove a dead assignment

 gdata/gdata-buffer.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gdata/gdata-buffer.c b/gdata/gdata-buffer.c
index 18f1395..8d73a28 100644
--- a/gdata/gdata-buffer.c
+++ b/gdata/gdata-buffer.c
@@ -290,7 +290,6 @@ gdata_buffer_pop_data (GDataBuffer *self, guint8 *data, gsize length_requested,
 	if (G_LIKELY (length_remaining > 0)) {
 		/* Copy the requested data to the output */
 		memcpy (data, chunk->data, length_remaining);
-		data += length_remaining;
 		self->head_read_offset = length_remaining;
 	}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]