- Migrated old compiler flags for better warnings, etc

This commit is contained in:
Paul Beckingham 2008-05-19 23:28:48 -04:00
parent 37bdfe06da
commit 65c2fe438f
4 changed files with 7 additions and 1 deletions

View file

@ -86,7 +86,7 @@ void Config::createDefault (const std::string& file)
if (taskDir != "")
{
FILE* out;
if (out = fopen (file.c_str (), "w"))
if ((out = fopen (file.c_str (), "w")))
{
fprintf (out, "data.location=%s\n", taskDir.c_str ());
fprintf (out, "command.logging=off\n");