summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2abf5a7)
raw | patch | inline | side by side (parent: 2abf5a7)
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@1657 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1657 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_daemon.c | patch | blob | history |
index e2a1813a1efa3c3ffd0cf0ce449ce0452e1422b9..5231942647362921afce80bb01e62b03e75bbdbb 100644 (file)
--- a/program/src/rrd_daemon.c
+++ b/program/src/rrd_daemon.c
if (file == NULL) return 0;
{
- char *reason;
+ char *reason = "unknown error";
int status = 0;
struct stat statbuf;