summaryrefslogtreecommitdiff
path: root/epan/packet.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-08-08 23:36:48 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-08-08 23:36:48 +0000
commita11feafee60eae1e17f56d9a4fee3fefc7bafabd (patch)
tree9d721544d986cc9a9e10da35d91c5c9f5e196b0b /epan/packet.c
parent5c86e7fd4c70e5cf2d2dcd0679439335ba5b67a7 (diff)
downloadwireshark-a11feafee60eae1e17f56d9a4fee3fefc7bafabd.tar.gz
don't use NULL to initialise an integer
svn path=/trunk/; revision=22474
Diffstat (limited to 'epan/packet.c')
-rw-r--r--epan/packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/packet.c b/epan/packet.c
index 9186d9784f..7960a35ed6 100644
--- a/epan/packet.c
+++ b/epan/packet.c
@@ -316,8 +316,8 @@ dissect_packet(epan_dissect_t *edt, union wtap_pseudo_header *pseudo_header,
edt->pi.tcp_tree = NULL;
edt->pi.dcerpc_procedure_name="";
edt->pi.sccp_info = NULL;
- edt->pi.clnp_srcref = NULL;
- edt->pi.clnp_dstref = NULL;
+ edt->pi.clnp_srcref = 0;
+ edt->pi.clnp_dstref = 0;
TRY {
edt->tvb = tvb_new_real_data(pd, fd->cap_len, fd->pkt_len);