diff options
author | Jörg Mayer <jmayer@loplof.de> | 2009-06-15 02:34:53 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2009-06-15 02:34:53 +0000 |
commit | c321f29518de560f5aa5e7ada52c5841c229cb8b (patch) | |
tree | de9c99a1cc991f7d1c0a6d5ef4117ed01bb0d411 /epan/dissectors | |
parent | ce3d46b20c917c6ce71d877af6318aef6921cd2d (diff) |
Trivial warning fixes:
- Might be used uninitialized
- not a prototype
- comma at end of enum
svn path=/trunk/; revision=28730
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-hip.c | 6 | ||||
-rw-r--r-- | epan/dissectors/packet-http.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-isakmp.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-udp.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-zbee-security.h | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-hip.c b/epan/dissectors/packet-hip.c index 2a0daa94e1..97583ba641 100644 --- a/epan/dissectors/packet-hip.c +++ b/epan/dissectors/packet-hip.c @@ -58,9 +58,9 @@ typedef enum { HIP_I2, HIP_R2, UPDATE=16, - NOTIFY=17, - CLOSE=18, - CLOSE_ACK=19, + NOTIFY=17, + CLOSE=18, + CLOSE_ACK=19 } HIP_PACKETS; /* HIP TLV parameters listed in order of RFCs */ diff --git a/epan/dissectors/packet-http.c b/epan/dissectors/packet-http.c index f62b69b3b0..a42f24e78c 100644 --- a/epan/dissectors/packet-http.c +++ b/epan/dissectors/packet-http.c @@ -1830,7 +1830,7 @@ get_hf_for_header(char* header_name) * */ static void -add_hf_info_for_headers() +add_hf_info_for_headers(void) { hf_register_info* hf = NULL; gint* hf_id = NULL; diff --git a/epan/dissectors/packet-isakmp.c b/epan/dissectors/packet-isakmp.c index 128a0de65e..1f7270b589 100644 --- a/epan/dissectors/packet-isakmp.c +++ b/epan/dissectors/packet-isakmp.c @@ -1000,7 +1000,7 @@ dissect_isakmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) tvbuff_t *decr_tvb; proto_tree *decr_tree; address null_addr; - void *pd_save; + void *pd_save = NULL; gboolean pd_changed = FALSE; #endif /* HAVE_LIBGCRYPT */ diff --git a/epan/dissectors/packet-udp.c b/epan/dissectors/packet-udp.c index 0add0200ac..da2e884c50 100644 --- a/epan/dissectors/packet-udp.c +++ b/epan/dissectors/packet-udp.c @@ -105,7 +105,7 @@ static gboolean try_heuristic_first = FALSE; /* Conversation and process code originally copied from packet-tcp.c */ static struct udp_analysis * -init_udp_conversation_data() +init_udp_conversation_data(void) { struct udp_analysis *udpd=NULL; diff --git a/epan/dissectors/packet-zbee-security.h b/epan/dissectors/packet-zbee-security.h index eb4e7b3b27..257de8302c 100644 --- a/epan/dissectors/packet-zbee-security.h +++ b/epan/dissectors/packet-zbee-security.h @@ -74,7 +74,7 @@ typedef struct{ /* Init routine for the Security dissectors. */ extern void zbee_security_register (module_t *module, int proto); -extern void zbee_security_handoff (); +extern void zbee_security_handoff (void); /* Security Dissector Routine. */ extern tvbuff_t *dissect_zbee_secure(tvbuff_t *, packet_info *, proto_tree *, guint, guint64); |