aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/algorithm.cxx')
-rw-r--r--build/algorithm.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/algorithm.cxx b/build/algorithm.cxx
index be63f99..e52d7f5 100644
--- a/build/algorithm.cxx
+++ b/build/algorithm.cxx
@@ -258,8 +258,10 @@ namespace build
// Should have been handled by inline execute().
assert (false);
case target_state::failed:
- throw failed ();
+ break;
}
+
+ throw failed ();
}
target_state