asset_evaluator.cpp: Fix compiler warning

This commit is contained in:
theoreticalbts 2015-10-09 15:27:14 -04:00
parent a6d6b7316a
commit 434efcaa47

View file

@ -520,8 +520,6 @@ void_result asset_publish_feeds_evaluator::do_evaluate(const asset_publish_feed_
{ {
FC_ASSERT(o.feed.settlement_price.quote.asset_id == bitasset.options.short_backing_asset); FC_ASSERT(o.feed.settlement_price.quote.asset_id == bitasset.options.short_backing_asset);
bool is_nop = false;
try try
{ {
// these two changes should go in price_feed::validate() when creating new network // these two changes should go in price_feed::validate() when creating new network
@ -559,7 +557,6 @@ void_result asset_publish_feeds_evaluator::do_evaluate(const asset_publish_feed_
("n", d.head_block_num()+1) ("n", d.head_block_num()+1)
("name", o.publisher(d).name) ("name", o.publisher(d).name)
); );
is_nop = true;
} }
} }
catch( const fc::exception& e ) catch( const fc::exception& e )