From 1c12ada27879f63e356f9ffa74657090e7843997 Mon Sep 17 00:00:00 2001 From: Itms Date: Sat, 14 Sep 2024 19:24:07 +0200 Subject: [PATCH] Remove unused typedef in json_spirit This fixes -Wunused-local-typedef with macOS's clang10. --- source/third_party/jsonspirit/json_spirit_writer_template.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/third_party/jsonspirit/json_spirit_writer_template.h b/source/third_party/jsonspirit/json_spirit_writer_template.h index 6e6fe124d9..94292a67f1 100644 --- a/source/third_party/jsonspirit/json_spirit_writer_template.h +++ b/source/third_party/jsonspirit/json_spirit_writer_template.h @@ -34,8 +34,6 @@ namespace json_spirit template< class String_type > String_type non_printable_to_string( unsigned int c ) { - typedef typename String_type::value_type Char_type; - String_type result( 6, '\\' ); result[1] = 'u';