diff options
| author | Gavin Andresen <[email protected]> | 2013-11-11 17:44:56 -0800 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-11-11 17:44:56 -0800 |
| commit | 07866e3cd6736879444ab9ace6b9ba58077d3f64 (patch) | |
| tree | 2b68c46febed29b4ecf6d27959b5634fb38a28ff | |
| parent | Merge pull request #3187 from Diapolo/netManager (diff) | |
| parent | Silence useless warning in src/json/json_spirit_writer_template.h to make imp... (diff) | |
| download | discoin-07866e3cd6736879444ab9ace6b9ba58077d3f64.tar.xz discoin-07866e3cd6736879444ab9ace6b9ba58077d3f64.zip | |
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 28c49ddc6..6b4978a1f 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, '\\' ); |