Commit 68f0ac82 authored by Victor Zverovich's avatar Victor Zverovich

Fix a bogus MSVC warning about unreachable code

parent b60a5c5d
......@@ -1727,8 +1727,7 @@ class precision_checker: public function<unsigned long long> {
template <typename T>
FMT_CONSTEXPR typename std::enable_if<
!is_integer<T>::value, unsigned long long>::type operator()(T) {
handler_.on_error("precision is not integer");
return 0;
return handler_.on_error("precision is not integer"), 0;
}
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