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