mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-12-01 13:52:35 -05:00
clean up the easy clippy errors
I'm still not running clippy on CI and probably should. There are a few left that were a little more involved to address.
This commit is contained in:
@@ -55,7 +55,7 @@ fn open_sample_file_dir(tx: &rusqlite::Transaction) -> Result<Arc<dir::SampleFil
|
||||
}
|
||||
|
||||
pub fn run(_args: &super::Args, tx: &rusqlite::Transaction) -> Result<(), Error> {
|
||||
let d = open_sample_file_dir(&tx)?;
|
||||
let d = open_sample_file_dir(tx)?;
|
||||
let mut stmt = tx.prepare(
|
||||
r#"
|
||||
select
|
||||
|
||||
Reference in New Issue
Block a user