Commit 5e48e006 authored by Kenton Varda's avatar Kenton Varda

GCC insists these must return despite calling context.exit() which has attribute noreturn.

parent 8695061e
...@@ -63,7 +63,7 @@ public: ...@@ -63,7 +63,7 @@ public:
})) { })) {
KJ_LOG(ERROR, "str threw"); KJ_LOG(ERROR, "str threw");
} }
context.exit(); return true;
} }
kj::MainBuilder::Validity runLists() { kj::MainBuilder::Validity runLists() {
...@@ -73,7 +73,7 @@ public: ...@@ -73,7 +73,7 @@ public:
})) { })) {
KJ_LOG(ERROR, "threw"); KJ_LOG(ERROR, "threw");
} }
context.exit(); return true;
} }
kj::MainBuilder::Validity canonicalize() { kj::MainBuilder::Validity canonicalize() {
...@@ -129,7 +129,7 @@ public: ...@@ -129,7 +129,7 @@ public:
KJ_ASSERT(b1[idx] == b2[idx], idx, b1.size()); KJ_ASSERT(b1[idx] == b2[idx], idx, b1.size());
} }
context.exit(); return true;
} }
private: private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment