Unverified Commit 7544bb1a authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #789

Fix missing return
parents dc61dc63 0eb7c11a
...@@ -246,7 +246,7 @@ public: ...@@ -246,7 +246,7 @@ public:
CAF_ASSERT(current_element_); CAF_ASSERT(current_element_);
auto& stages = current_element_->stages; auto& stages = current_element_->stages;
if (!stages.empty()) if (!stages.empty())
stages.back(); return stages.back();
return nullptr; return nullptr;
} }
......
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