aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-08-07 02:12:51 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-08-07 12:08:57 +0300
commit51d80ab63a32648caf2acc20ebf50d21f73cc3a3 (patch)
tree511988b0bc4fd0148236e7a607330626ea9ec53c
parent87db64b6a06caabead3ff7e7718d97295f83b869 (diff)
Fix 'may be used uninitialized' warning (GCC)
-rw-r--r--build2/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/rule.cxx b/build2/rule.cxx
index 690833a..2ed0bbd 100644
--- a/build2/rule.cxx
+++ b/build2/rule.cxx
@@ -200,7 +200,7 @@ namespace build2
catch (const system_error& e)
{
print ();
- fail << "unable to create directory " << d << ": " << e;
+ fail << "unable to create directory " << d << ": " << e << endf;
}
if (ms == mkdir_status::success)