summaryrefslogtreecommitdiff
path: root/amount.cc
diff options
context:
space:
mode:
Diffstat (limited to 'amount.cc')
-rw-r--r--amount.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/amount.cc b/amount.cc
index ac2288ad..e0aca70b 100644
--- a/amount.cc
+++ b/amount.cc
@@ -474,9 +474,12 @@ static commodity * parse_amount(mpz_t out, const char * num,
static char buf[256];
bool saw_commodity = false;
+ bool prefix = false;
+ bool separate = true;
+ bool thousands = true;
+ bool european = false;
std::string symbol;
- bool prefix, separate, thousands, european;
int precision, result;
if (ovector[base * 2] >= 0) {