From 07f5581e242eb2d639bb76709446f9ede2e3d15b Mon Sep 17 00:00:00 2001 From: Timo Kokkonen Date: Sat, 9 Jul 2016 13:21:15 +0300 Subject: [PATCH] rrdtool: Remove unused variables These are leftovers from making the run() function synchronous. Signed-off-by: Timo Kokkonen --- rrdtool.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/rrdtool.c b/rrdtool.c index 9fed184..e7eedc7 100644 --- a/rrdtool.c +++ b/rrdtool.c @@ -34,7 +34,6 @@ int rrdtool_draw_image(struct rrd_image *image) { - int pid; char cmd[] = RRDTOOL_CMD; // char cmd[] = "echo"; char *args[512], argstr[ARGSTR_LEN]; @@ -253,7 +252,6 @@ static int write_to_logfile(struct rrd_database *rrd, const char *data) static int do_rrdtool_update_data(struct rrd_database *rrd) { - int pid; char data[RRD_DATA_MAX_LEN + 3]; /* 3 == "N:" + NULL termination */ char cmd[] = RRDTOOL_CMD; // char cmd[] = "echo"; -- 2.44.0