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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba9b76d4be49c6a45b32a508c48e828a583b6dfc;p=thirdparty%2Fcollectd.git mysql plugin: Remove sideeffect-free function call. --- diff --git a/src/mysql.c b/src/mysql.c index bfdbb7666..69df7c708 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;