aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gssapi.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-04-13 00:50:23 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-04-13 00:50:23 +0000
commitf002ac6db5099393872c7e041f78c85e95581195 (patch)
tree9a8c65d28fe753b2b56ab7b0bc138bbd074ab817 /epan/dissectors/packet-gssapi.c
parent5f5f6561084a292b10f2712236aed087799167f2 (diff)
Fix various warnings
Move packet-cops.c out of clean dissectors due to a #define conflict in the headers of net-snmp with our config.h svn path=/trunk/; revision=21398
Diffstat (limited to 'epan/dissectors/packet-gssapi.c')
-rw-r--r--epan/dissectors/packet-gssapi.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/dissectors/packet-gssapi.c b/epan/dissectors/packet-gssapi.c
index 610626da05..c26f1c3ca8 100644
--- a/epan/dissectors/packet-gssapi.c
+++ b/epan/dissectors/packet-gssapi.c
@@ -172,13 +172,14 @@ dissect_gssapi_work(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
{
proto_item *item;
proto_tree *subtree;
- int return_offset = 0;
+ volatile int return_offset = 0;
gssapi_conv_info_t *volatile gss_info;
gssapi_oid_value *oidvalue;
dissector_handle_t handle;
conversation_t *conversation;
tvbuff_t *oid_tvb;
- int len, offset, start_offset, oid_start_offset;
+ int len, start_offset, oid_start_offset;
+ volatile int offset;
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -186,7 +187,7 @@ dissect_gssapi_work(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
const char *oid;
fragment_data *fd_head=NULL;
gssapi_frag_info_t *fi;
- tvbuff_t *gss_tvb=NULL;
+ tvbuff_t *volatile gss_tvb=NULL;
start_offset=0;
offset=0;