From 2208ac1226bb3be82be550d465f08fc1dd7c1bae Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 4 Feb 2011 22:39:41 -0500 Subject: Fixes for compilation as C++0x code --- src/commodity.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'src/commodity.cc') 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(in.peek()); while (_p - buf < 255 && in.good() && ! in.eof() && c != '\n') { std::size_t bytes = 0; std::ptrdiff_t size = _p - buf; -- cgit v1.2.3