[all] Remove unreachable code
This commit is contained in:
parent
db52308d85
commit
050eacf4cb
@ -174,9 +174,6 @@ aio_engine::wait_(timespec *ts)
|
||||
cbs_.free(cb);
|
||||
return optional<wait_result>(make_pair(false, context));
|
||||
}
|
||||
|
||||
// shouldn't get here
|
||||
return optional<wait_result>(make_pair(false, 0));
|
||||
}
|
||||
|
||||
struct timespec
|
||||
|
@ -56,9 +56,6 @@ namespace {
|
||||
default:
|
||||
throw runtime_error("invalid hint width");
|
||||
}
|
||||
|
||||
// never get here
|
||||
return std::shared_ptr<array_base>();
|
||||
}
|
||||
|
||||
//--------------------------------
|
||||
@ -93,9 +90,6 @@ namespace {
|
||||
default:
|
||||
throw runtime_error("invalid hint width");
|
||||
}
|
||||
|
||||
// never get here
|
||||
return std::shared_ptr<array_base>();
|
||||
}
|
||||
|
||||
//--------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user