Enable unused-local-typedef clang warning

This commit is contained in:
sfc-gh-tclinkenbeard 2021-10-28 11:53:53 -07:00 committed by Trevor Clinkenbeard
parent a108bacf11
commit b0cec29849
2 changed files with 0 additions and 3 deletions

View File

@ -293,7 +293,6 @@ else()
-Wno-unknown-pragmas
-Wno-unknown-warning-option
-Wno-unused-function
-Wno-unused-local-typedef
-Wno-unused-parameter
)
if (USE_CCACHE)

View File

@ -32,8 +32,6 @@ inline char to_hex_char(unsigned int c) {
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';