From eda8dd2040e506f5ff721eed4b89b53feb9f5770 Mon Sep 17 00:00:00 2001 From: oetiker Date: Sat, 8 Nov 2008 18:01:01 +0000 Subject: [PATCH] rrdcached: journal_replay default failure reason, just in case avoids a "may be used uninitialized" warning -- kevin git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1657 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/src/rrd_daemon.c b/program/src/rrd_daemon.c index e2a1813a..52319426 100644 --- a/program/src/rrd_daemon.c +++ b/program/src/rrd_daemon.c @@ -1761,7 +1761,7 @@ static int journal_replay (const char *file) /* {{{ */ if (file == NULL) return 0; { - char *reason; + char *reason = "unknown error"; int status = 0; struct stat statbuf; -- 2.30.2