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:
a95667b
)
Make something to which we assign a string pointer const.
author
Guy Harris
<guy@alum.mit.edu>
Sun, 20 Nov 2016 18:45:03 +0000
(10:45 -0800)
committer
Guy Harris
<guy@alum.mit.edu>
Sun, 20 Nov 2016 18:45:38 +0000
(18:45 +0000)
Change-Id: I4b292f252f0e4290fc8adc1e76aa589108fc597e
Reviewed-on: https://code.wireshark.org/review/18905
Reviewed-by: Guy Harris <guy@alum.mit.edu>
epan/dissectors/packet-dcm.c
patch
|
blob
|
history
diff --git
a/epan/dissectors/packet-dcm.c
b/epan/dissectors/packet-dcm.c
index 4ecf297aa99d025ed05642a2e148b20e3feef0e0..40737e22b63a48fa07bd53fe4a29aa006b5bda37 100644
(file)
--- a/
epan/dissectors/packet-dcm.c
+++ b/
epan/dissectors/packet-dcm.c
@@
-5822,7
+5822,7
@@
dissect_dcm_tag_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_s
guint16 at_grp;
guint16 at_elm;
guint32 at_offset = 0;
- gchar *at_value = "";
+
const
gchar *at_value = "";
while(at_offset < vl_max-3) {
if (is_little_endian) at_grp = tvb_get_letohs(tvb, offset+at_offset);