Skip to content

Commit 33b4de1

Browse files
committed
CI build fixes
1 parent 0caff00 commit 33b4de1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/c.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,6 @@ int fmt_c_format(char* buffer, size_t capacity, const char* format_str,
189189

190190
*result.out = '\0';
191191
return static_cast<int>(result.size);
192-
193-
} catch (const fmt::format_error& e) {
194-
set_error(e.what());
195-
return FMT_ERR_EXCEPTION;
196192
} catch (const std::exception& e) {
197193
set_error(e.what());
198194
return FMT_ERR_EXCEPTION;
@@ -235,8 +231,6 @@ void fmt_c_print(FILE* f, const char* format_str, const FmtArg* args,
235231
g_fixed_store.data(), static_cast<int>(arg_count));
236232
fmt::vprint(f, format_str, format_args_view);
237233

238-
} catch (const fmt::format_error& e) {
239-
set_error(e.what());
240234
} catch (const std::exception& e) {
241235
set_error(e.what());
242236
} catch (...) {

0 commit comments

Comments
 (0)