diff options
author | John Wiegley <johnw@newartisans.com> | 2011-02-04 22:39:41 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2011-02-04 22:39:41 -0500 |
commit | 2208ac1226bb3be82be550d465f08fc1dd7c1bae (patch) | |
tree | 35ac78b7e439263c24a14c1fe214fd5db61745f9 /src/commodity.cc | |
parent | e0c42ff44352b414e8a6ea3ba735afea98db6d18 (diff) | |
download | fork-ledger-2208ac1226bb3be82be550d465f08fc1dd7c1bae.tar.gz fork-ledger-2208ac1226bb3be82be550d465f08fc1dd7c1bae.tar.bz2 fork-ledger-2208ac1226bb3be82be550d465f08fc1dd7c1bae.zip |
Fixes for compilation as C++0x code
Diffstat (limited to 'src/commodity.cc')
-rw-r--r-- | src/commodity.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/commodity.cc b/src/commodity.cc index 81183b25..f8a4b364 100644 --- a/src/commodity.cc +++ b/src/commodity.cc @@ -564,7 +564,6 @@ void commodity_t::parse_symbol(std::istream& in, string& symbol) throw_(amount_error, _("Quoted commodity symbol lacks closing quote")); } else { char * _p = buf; - c = static_cast<char>(in.peek()); while (_p - buf < 255 && in.good() && ! in.eof() && c != '\n') { std::size_t bytes = 0; std::ptrdiff_t size = _p - buf; |