summaryrefslogtreecommitdiffstats
path: root/src/message.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-04-22 19:01:52 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-04-22 19:01:52 (GMT)
commit47d9b2d70a4136d4df2a5c87ba33843b1520261b (patch)
tree1f4c97eefd0176861661608ecd3cf7fe0a63225f /src/message.cpp
parent591f52f0f1ff3ce76d17e2490376d6182b0cbbde (diff)
downloadDoxygen-47d9b2d70a4136d4df2a5c87ba33843b1520261b.zip
Doxygen-47d9b2d70a4136d4df2a5c87ba33843b1520261b.tar.gz
Doxygen-47d9b2d70a4136d4df2a5c87ba33843b1520261b.tar.bz2
Release-1.2.6-20010422
Diffstat (limited to 'src/message.cpp')
-rw-r--r--src/message.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/message.cpp b/src/message.cpp
index 5c9e783..285f1c3 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -85,6 +85,10 @@ void initWarningFormat()
{
warnFile = fopen(Config_getString("WARN_LOGFILE"),"w");
}
+ if (!warnFile) // point it to something valid, because warn() relies on it
+ {
+ warnFile = stderr;
+ }
}