diff --git a/program/src/rrd_tune.c b/program/src/rrd_tune.c
index ecdedf29f18c3b36581bfdf5d4e7ec857698416f..5651ad0288f9826727a862f2ae4207a634d24950 100644 (file)
--- a/program/src/rrd_tune.c
+++ b/program/src/rrd_tune.c
rrd.ds_def[i].par[DS_min_val].u_val,
rrd.ds_def[i].par[DS_max_val].u_val);
} else {
- char *buffer;
+ char *buffer = NULL;
rpn_compact2str((rpn_cdefds_t *) &(rrd.ds_def[i].par[DS_cdef]),rrd.ds_def,&buffer);
printf("DS[%s] typ: %s\tcdef: %s\n", rrd.ds_def[i].ds_nam,rrd.ds_def[i].dst,buffer);
free(buffer);