aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-01-30 23:27:57 +0000
committerBill Meier <wmeier@newsguy.com>2011-01-30 23:27:57 +0000
commit7f0107220deb49187d7d5ba2eb13246b45f6bb11 (patch)
treea20bce4d29b63e0b5000df417fd5ea9a77fda49f /epan/tvbuff.c
parent043e0e0bbf6a2bf97f77124091ea78c9beb23088 (diff)
Fix various instances of "unreachable code".
svn path=/trunk/; revision=35713
Diffstat (limited to 'epan/tvbuff.c')
-rw-r--r--epan/tvbuff.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/tvbuff.c b/epan/tvbuff.c
index 52cecb481c..32f8225868 100644
--- a/epan/tvbuff.c
+++ b/epan/tvbuff.c
@@ -873,7 +873,6 @@ composite_ensure_contiguous_no_exception(tvbuff_t *tvb, const guint abs_offset,
}
DISSECTOR_ASSERT_NOT_REACHED();
- return NULL;
}
static const guint8*
@@ -1035,7 +1034,6 @@ composite_memcpy(tvbuff_t *tvb, guint8* target, guint abs_offset, size_t abs_len
}
DISSECTOR_ASSERT_NOT_REACHED();
- return NULL;
}
void*