aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-per.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-06-19 12:36:30 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-06-19 12:36:30 +0000
commitaafab47c09bca3219c7aa36eb0bd8f92fc029dd3 (patch)
treea4c738e9360c6392639cde526259fb98bb244d1a /epan/dissectors/packet-per.c
parentcae666a0d0e383c4ced1856cc849bfb108e6bfcc (diff)
Initialize new_offset.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25485 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-per.c')
-rw-r--r--epan/dissectors/packet-per.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-per.c b/epan/dissectors/packet-per.c
index df556928b8..3457e11378 100644
--- a/epan/dissectors/packet-per.c
+++ b/epan/dissectors/packet-per.c
@@ -1865,6 +1865,7 @@ DEBUG_ENTRY("dissect_per_sequence");
if(sequence[extension_index].func){
new_offset=sequence[extension_index].func(tvb, offset, actx, tree, *sequence[extension_index].p_id);
} else {
+ new_offset=0;
PER_NOT_DECODED_YET(index_get_field_name(sequence, extension_index));
}
offset+=length*8;