diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-06-08 14:12:17 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-06-08 14:12:17 +0300 |
commit | b1173f33f7d9e1c42371a5df7e21765861c74c4f (patch) | |
tree | da1db9e453daac569c7afd2f1093250d225b6097 /src/mysqlstat.c | |
parent | 54047990e41304bbdc88739ec7771e1b551a854d (diff) | |
download | mysqlstat-b1173f33f7d9e1c42371a5df7e21765861c74c4f.tar.gz mysqlstat-b1173f33f7d9e1c42371a5df7e21765861c74c4f.tar.bz2 |
Minor changes
Diffstat (limited to 'src/mysqlstat.c')
-rw-r--r-- | src/mysqlstat.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mysqlstat.c b/src/mysqlstat.c index f599193..9d9975e 100644 --- a/src/mysqlstat.c +++ b/src/mysqlstat.c @@ -42,14 +42,6 @@ xcalloc(size_t nmemb, size_t size) return p; } -static char * -xstrdup(char const *s) -{ - char *p = strdup(s); - assert(p != NULL); - return p; -} - mysqlstat_connection_t mysqlstat_connect(void) { @@ -169,7 +161,6 @@ get_process_list(struct process_list **p) MYSQL_ROW process_next(struct process_list *p) { - MYSQL_ROW row; if (p->itr >= p->total) return NULL; mysql_data_seek(p->res, p->itr); |