aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-x11.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2024-04-02 14:37:13 +0200
committerAndersBroman <a.broman58@gmail.com>2024-04-05 21:38:28 +0000
commitd0b143bbecf422db5b6f51b549726786e85a3540 (patch)
treedfc9976aadc230136d47e596d7329e7c5ebe23fe /epan/dissectors/packet-x11.c
parentc47011890a8cb5749cb6dcdb328743a0e2c4778d (diff)
Remove init to zero for static variables
The C standard requires that objects with static storage duration is initialized to zero.
Diffstat (limited to 'epan/dissectors/packet-x11.c')
-rw-r--r--epan/dissectors/packet-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-x11.c b/epan/dissectors/packet-x11.c
index cf8d148891..5943f0e57b 100644
--- a/epan/dissectors/packet-x11.c
+++ b/epan/dissectors/packet-x11.c
@@ -52,7 +52,7 @@
void proto_register_x11(void);
void proto_reg_handoff_x11(void);
-static dissector_handle_t x11_handle = NULL;
+static dissector_handle_t x11_handle;
#define cVALS(x) (const value_string*)(x)