summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 46a1f60)
raw | patch | inline | side by side (parent: 46a1f60)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 8 Nov 2008 18:01:01 +0000 (18:01 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 8 Nov 2008 18:01:01 +0000 (18:01 +0000) |
avoids a "may be used uninitialized" warning -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1657 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1657 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_daemon.c | patch | blob | history |
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index e2a1813a1efa3c3ffd0cf0ce449ce0452e1422b9..5231942647362921afce80bb01e62b03e75bbdbb 100644 (file)
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
if (file == NULL) return 0;
{
- char *reason;
+ char *reason = "unknown error";
int status = 0;
struct stat statbuf;