aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gssapi.c
diff options
context:
space:
mode:
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2007-04-13 00:50:23 +0000
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2007-04-13 00:50:23 +0000
commit0556e50176ea6597f7b0f77ef1835eee0468249c (patch)
tree9a8c65d28fe753b2b56ab7b0bc138bbd074ab817 /epan/dissectors/packet-gssapi.c
parente9d07f9dffa67f61f7455626acde3b0ddc29a5eb (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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21398 f5534014-38df-0310-8fa8-9805f1628bb7
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;