From: Florian Forster Date: Tue, 16 Aug 2011 06:51:21 +0000 (+0200) Subject: mysql plugin: Remove sideeffect-free function call. X-Git-Tag: collectd-4.10.4~13 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=ba9b76d4be49c6a45b32a508c48e828a583b6dfc;p=collectd.git mysql plugin: Remove sideeffect-free function call. --- diff --git a/src/mysql.c b/src/mysql.c index bfdbb766..69df7c70 100644 --- a/src/mysql.c +++ b/src/mysql.c @@ -742,7 +742,6 @@ static int mysql_read (user_data_t *ud) if (res == NULL) return (-1); - mysql_num_fields (res); while ((row = mysql_fetch_row (res))) { char *key;