Skip to content

Commit

Permalink
remove unreachable code in DataQueue
Browse files Browse the repository at this point in the history
- fixes luxonis#284
  • Loading branch information
diablodale committed Jan 16, 2022
1 parent f424543 commit e56245b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/depthai/device/DataQueue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ class DataOutputQueue {
std::shared_ptr<ADatatype> val = nullptr;
if(!queue.waitAndPop(val)) {
throw std::runtime_error(exceptionMessage.c_str());
return nullptr;
}
return std::dynamic_pointer_cast<T>(val);
}
Expand Down

0 comments on commit e56245b

Please sign in to comment.