Code

Merge branch 'cppcheck'
[collectd.git] / src / match_value.c
index fbe1f03987bcf0056d704d1b3f7e9bbe372d0ed9..599f1cfb4bc6863b8432400b25cf18c7b6f2bc33 100644 (file)
@@ -129,7 +129,7 @@ static int mv_config_add_data_source (mv_match_t *m, /* {{{ */
 
   /* Allocate space for the char pointers */
   new_data_sources_num = m->data_sources_num + ((size_t) ci->values_num);
-  temp = (char **) realloc (m->data_sources,
+  temp = realloc (m->data_sources,
       new_data_sources_num * sizeof (char *));
   if (temp == NULL)
   {