diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2012-03-11 14:02:59 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2012-03-11 14:02:59 +0000 |
commit | b049f8a976510dd10bd8e15d48f1ebd0eb2a0e91 (patch) | |
tree | 402391e8966da546a3ab0c908ed8622421c36e79 | |
parent | 3d8a2927a77dd17b0c42af9b70bd7e99684be215 (diff) |
Return a valid offset from process_app0_segment().
The return value is not used, but this removes a warning.
svn path=/trunk/; revision=41481
-rw-r--r-- | epan/dissectors/packet-image-jfif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-image-jfif.c b/epan/dissectors/packet-image-jfif.c index a9974249ec..b6389ed8e6 100644 --- a/epan/dissectors/packet-image-jfif.c +++ b/epan/dissectors/packet-image-jfif.c @@ -548,6 +548,7 @@ process_app0_segment(proto_tree *tree, tvbuff_t *tvb, guint32 len, break; } } + offset = 10; } else { /* Unknown */ proto_item_append_text(ti, " (unknown identifier)"); offset = 4 + str_size; |