ggformat

A string formatting library for C++
Log | Files | Refs

commit bba4fa44d3f089b70e68ca3651b2bd50cfb11a6b
parent 10bc64b4e416b6ff4eb6989e58e2905b3b2c4233
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Fri, 25 Aug 2017 08:42:13 +0100

Tiny cleanup

Diffstat:
ggformat.cc | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/ggformat.cc b/ggformat.cc @@ -187,8 +187,6 @@ static const char * parse_format_precision( const char * p, const char * one_pas } static const char * parse_format_number_format( const char * p, const char * one_past_end, FormatOpts::NumberFormat * number_format ) { - *number_format = FormatOpts::DECIMAL; - bool hex = false; const char * after_hex = parse_format_bool( p, one_past_end, 'x', &hex ); @@ -208,7 +206,6 @@ static const char * parse_format_number_format( const char * p, const char * one return p; } - FormatOpts parse_formatopts( const char * fmt, size_t len ) { FormatOpts opts;