fixed allow warnings in ethcore

This commit is contained in:
debris
2016-02-19 12:19:43 +01:00
parent f50bf528e6
commit b5d6359030
13 changed files with 23 additions and 21 deletions

View File

@@ -87,7 +87,7 @@ struct QueueSignal {
}
impl QueueSignal {
#[allow(bool_comparison)]
#[cfg_attr(feature="dev", allow(bool_comparison))]
fn set(&self) {
if self.signalled.compare_and_swap(false, true, AtomicOrdering::Relaxed) == false {
self.message_channel.send(UserMessage(SyncMessage::BlockVerified)).expect("Error sending BlockVerified message");