From 9c32e73abff3c15efe362e5459463294d7d34d75 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 9 Jul 2018 12:27:59 +0300 Subject: [PATCH] Fixing return unreachable warning on NVCC --- include/fmt/format.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 2fb0abe0..2ac81bb9 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1476,7 +1476,6 @@ void arg_map::init(const basic_format_args &args) { break; // Do nothing. } } - return; } for (unsigned i = 0; ; ++i) { switch (args.args_[i].type_) {