diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-11-11 17:44:56 -0800 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-11-11 17:44:56 -0800 |
commit | 07866e3cd6736879444ab9ace6b9ba58077d3f64 (patch) | |
tree | 2b68c46febed29b4ecf6d27959b5634fb38a28ff | |
parent | a6aa179699aa4e885a7d93cd28a8af012cd5df2b (diff) | |
parent | a6b3de139554574075008546e725d1ea604b266f (diff) |
Merge pull request #2980 from wtogami/silenceunusedwarning
Silence useless warning in src/json/json_spirit_writer_template.h to mak...
-rw-r--r-- | src/json/json_spirit_writer_template.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/json/json_spirit_writer_template.h b/src/json/json_spirit_writer_template.h index 28c49ddc64..6b4978a1ff 100644 --- a/src/json/json_spirit_writer_template.h +++ b/src/json/json_spirit_writer_template.h @@ -28,7 +28,8 @@ namespace json_spirit template< class String_type > String_type non_printable_to_string( unsigned int c ) { - typedef typename String_type::value_type Char_type; + // Silence the warning: typedef ‘Char_type’ locally defined but not used [-Wunused-local-typedefs] + // typedef typename String_type::value_type Char_type; String_type result( 6, '\\' ); |