Enable unused-local-typedef clang warning
This commit is contained in:
parent
a108bacf11
commit
b0cec29849
|
@ -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)
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue