aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-02-01 07:03:32 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-02-01 07:03:32 +0000
commitc39e9829c699d13026bc793a491821973fa4b755 (patch)
tree8b3bbe67a1d7a5e6403f436f206b62eb766096f9 /epan/tvbuff.c
parentdc23c19a909258aece165037126b25737b475f7d (diff)
Squelch a GCC warning.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4658 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/tvbuff.c')
-rw-r--r--epan/tvbuff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/tvbuff.c b/epan/tvbuff.c
index 163a4bd90d..8394fd7c63 100644
--- a/epan/tvbuff.c
+++ b/epan/tvbuff.c
@@ -9,7 +9,7 @@
* the data of a backing tvbuff, or can be a composite of
* other tvbuffs.
*
- * $Id: tvbuff.c,v 1.28 2002/02/01 04:34:17 gram Exp $
+ * $Id: tvbuff.c,v 1.29 2002/02/01 07:03:32 guy Exp $
*
* Copyright (c) 2000 by Gilbert Ramirez <gram@alumni.rice.edu>
*
@@ -615,6 +615,7 @@ tvb_ensure_length_remaining(tvbuff_t *tvb, gint offset)
if (retval == -1) {
THROW(ReportedBoundsError);
+ return -1; /* squelch compiler complaint */
}
else {
return retval;