aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-26 11:12:55 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-26 11:12:55 +0300
commit48e49e2627bbd389b9b3244cbea188ee7a641993 (patch)
tree6bbba23866c7c5e76aa7895b2b244fe5d69cf357
parent08de44303033cc5ad966f4e75a7fa4a3cb06635f (diff)
Suppress gcc's 'control reaches end of non-void function' warning
-rw-r--r--libbuild2/scope.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/scope.cxx b/libbuild2/scope.cxx
index 3974989..0b9d981 100644
--- a/libbuild2/scope.cxx
+++ b/libbuild2/scope.cxx
@@ -785,7 +785,7 @@ namespace build2
}
}
- fail (loc) << "invalid target name: " << ns;
+ fail (loc) << "invalid target name: " << ns << endf;
}
static target*