mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
- Migrated old compiler flags for better warnings, etc
This commit is contained in:
parent
37bdfe06da
commit
65c2fe438f
4 changed files with 7 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue