Silence warning
This commit is contained in:
@@ -7,6 +7,7 @@ use futures_util::stream;
|
||||
use futures_util::Stream;
|
||||
use futures_util::StreamExt;
|
||||
|
||||
#[allow(unused)]
|
||||
fn pad_to_8(buf: &mut Vec<u8>) {
|
||||
let npadded = (7 + buf.len()) & (!0x7);
|
||||
let npad = npadded - buf.len();
|
||||
|
||||
@@ -532,7 +532,10 @@ pub async fn timebinned_cbor_framed(
|
||||
_ => log::Level::ERROR,
|
||||
};
|
||||
let stats_items = match query.stats_items() {
|
||||
Some(x) => true,
|
||||
Some(_) => {
|
||||
// TODO ?
|
||||
true
|
||||
}
|
||||
None => false,
|
||||
};
|
||||
let stream = stream
|
||||
|
||||
Reference in New Issue
Block a user