From: Ruben Kerkhof Date: Sat, 23 Jul 2016 13:16:41 +0000 (+0200) Subject: libcollectdclient: remove unneccesary cast X-Git-Tag: collectd-5.6.0~190 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=60cdfe7613c232c5257ba6010c54f7e38b457e93;p=collectd.git libcollectdclient: remove unneccesary cast --- diff --git a/src/libcollectdclient/client.c b/src/libcollectdclient/client.c index 8b5ac0bd..26a59297 100644 --- a/src/libcollectdclient/client.c +++ b/src/libcollectdclient/client.c @@ -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); }