projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't initialize static pointers to NULL
[collectd.git]
/
src
/
utils_dns.c
diff --git
a/src/utils_dns.c
b/src/utils_dns.c
index
e7e04f7
..
faa917f
100644
(file)
--- a/
src/utils_dns.c
+++ b/
src/utils_dns.c
@@
-158,13
+158,13
@@
typedef int(printer)(const char *, ...);
*/
#if HAVE_PCAP_H
*/
#if HAVE_PCAP_H
-static pcap_t *pcap_obj
= NULL
;
+static pcap_t *pcap_obj;
#endif
#endif
-static ip_list_t *IgnoreList
= NULL
;
+static ip_list_t *IgnoreList;
#if HAVE_PCAP_H
#if HAVE_PCAP_H
-static void (*Callback)(const rfc1035_header_t *)
= NULL
;
+static void (*Callback)(const rfc1035_header_t *);
static int query_count_intvl = 0;
static int query_count_total = 0;
static int query_count_intvl = 0;
static int query_count_total = 0;