git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d66d8c4
)
Get rid of unnecessary initialization that causes "discards qualifiers"
author
Guy Harris
<guy@alum.mit.edu>
Fri, 21 Dec 2012 22:00:40 +0000
(22:00 -0000)
committer
Guy Harris
<guy@alum.mit.edu>
Fri, 21 Dec 2012 22:00:40 +0000
(22:00 -0000)
warnings.
svn path=/trunk/; revision=46688
epan/dissectors/packet-xtp.c
patch
|
blob
|
history
diff --git
a/epan/dissectors/packet-xtp.c
b/epan/dissectors/packet-xtp.c
index ce3eca0bd66cd3847a492365ef1c2959e875edb0..ff1008f9cdb7ddacbc749c1c1cc4b499e6ae0626 100644
(file)
--- a/
epan/dissectors/packet-xtp.c
+++ b/
epan/dissectors/packet-xtp.c
@@
-906,7
+906,7
@@
dissect_xtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
proto_tree *xtp_tree, *xtp_cmd_tree, *xtp_subtree;
struct xtphdr xtph[1];
int error = 0;
- gchar *options
= "<None>"
;
+ gchar *options;
const char *fstr[] = { "<None>", "NOCHECK", "EDGE", "NOERR", "MULTI", "RES",
"SORT", "NOFLOW", "FASTNAK", "SREQ", "DREQ",
"RCLOSE", "WCLOSE", "EOM", "END", "BTAG" };