diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-09-09 14:50:43 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-09-09 14:50:43 +0200 |
commit | dd8ce9fc18f2ce5007883f0fc6885c41deafc1b7 (patch) | |
tree | 5efea6fc02aa6689566e0cab54c8d089467ce844 /proto_ipv6_fragm.c | |
parent | e0a7ae85351de7ebc43af1fe5f04e650c6736201 (diff) |
dissector: Don't re-initialize packet_types array
Both sparse and clang warn about the initializers overriding previous
initialization of the packet_types array. Since every access of the
packet_types array checks the value for NULL (the default value, since the
array is static) and prints a "?" if it isNULL, we don't need the prior
initialization with "?".
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_ipv6_fragm.c')
0 files changed, 0 insertions, 0 deletions