summaryrefslogtreecommitdiff
path: root/geoip.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-09-09 14:50:43 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-09-09 14:50:43 +0200
commitdd8ce9fc18f2ce5007883f0fc6885c41deafc1b7 (patch)
tree5efea6fc02aa6689566e0cab54c8d089467ce844 /geoip.h
parente0a7ae85351de7ebc43af1fe5f04e650c6736201 (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 'geoip.h')
0 files changed, 0 insertions, 0 deletions