libcollectdclient: remove unneccesary cast
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 23 Jul 2016 13:16:41 +0000 (15:16 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 23 Jul 2016 13:16:41 +0000 (15:16 +0200)
src/libcollectdclient/client.c

index 8b5ac0b..26a5929 100644 (file)
@@ -693,7 +693,7 @@ int lcc_getval (lcc_connection_t *c, lcc_identifier_t *ident, /* {{{ */
 
   if (ret_values_names != NULL)
   {
-    values_names = (char **) calloc (values_num, sizeof (*values_names));
+    values_names = calloc (values_num, sizeof (*values_names));
     if (values_names == NULL)
       BAIL_OUT (ENOMEM);
   }