From 8fdbb7f866597d29e970168781f4883fa8a9116e Mon Sep 17 00:00:00 2001 From: oetiker Date: Tue, 26 Jul 2005 09:13:36 +0000 Subject: [PATCH] initialize font to empty string for deault font case. git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@665 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 6e0e55c..bb31289 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -3182,7 +3182,7 @@ rrd_graph_options(int argc, char *argv[],image_desc_t *im) case 'n':{ char prop[15]; double size = 1; - char font[1024]; + char font[1024] = ""; if(sscanf(optarg, "%10[A-Z]:%lf:%1000s", -- 2.30.2