Blame SOURCES/wireshark-0019-CVE-19625.patch

4a42e1
diff --git a/epan/tvbuff_composite.c b/epan/tvbuff_composite.c
4a42e1
index 5832477f81..e5ab7c8b17 100644
4a42e1
--- a/epan/tvbuff_composite.c
4a42e1
+++ b/epan/tvbuff_composite.c
4a42e1
@@ -51,12 +51,9 @@ composite_free(tvbuff_t *tvb)
4a42e1
 }
4a42e1
 
4a42e1
 static guint
4a42e1
-composite_offset(const tvbuff_t *tvb, const guint counter)
4a42e1
+composite_offset(const tvbuff_t *tvb _U_, const guint counter)
4a42e1
 {
4a42e1
-	const struct tvb_composite *composite_tvb = (const struct tvb_composite *) tvb;
4a42e1
-	const tvbuff_t *member = (const tvbuff_t *)composite_tvb->composite.tvbs->data;
4a42e1
-
4a42e1
-	return tvb_offset_from_real_beginning_counter(member, counter);
4a42e1
+	return counter;
4a42e1
 }
4a42e1
 
4a42e1
 static const guint8*