Don't initialize static pointers to NULL
[collectd.git] / src / sensors.c
index ddd09d9..47db4e3 100644 (file)
@@ -157,7 +157,7 @@ typedef struct featurelist {
   struct featurelist *next;
 } featurelist_t;
 
-static char *conffile = NULL;
+static char *conffile;
 static bool use_labels;
 /* #endif (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500) */
 
@@ -166,7 +166,7 @@ static bool use_labels;
        "as bug."
 #endif
 
-static featurelist_t *first_feature = NULL;
+static featurelist_t *first_feature;
 static ignorelist_t *sensor_list;
 
 #if SENSORS_API_VERSION < 0x400