From: Ruben Kerkhof Date: Sun, 24 Jul 2016 11:37:14 +0000 (+0200) Subject: mysql plugin: remove unneccesary cast X-Git-Tag: collectd-5.6.0~175 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=5a29f19d5501857ddc048ddb37e779fc5fe253df;p=collectd.git mysql plugin: remove unneccesary cast --- diff --git a/src/mysql.c b/src/mysql.c index 9b8d6cf3..8ab775fc 100644 --- a/src/mysql.c +++ b/src/mysql.c @@ -71,7 +71,7 @@ static void mysql_database_free (void *arg) /* {{{ */ DEBUG ("mysql plugin: mysql_database_free (arg = %p);", arg); - db = (mysql_database_t *) arg; + db = arg; if (db == NULL) return;