Skip to content

Commit 80362d8

Browse files
Remove unused global
1 parent d3c3ae8 commit 80362d8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

josh-core/src/cache.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ pub trait FilterHook {
2929
fn filter_for_commit(&self, commit_oid: git2::Oid, arg: &str) -> JoshResult<filter::Filter>;
3030
}
3131

32-
static DB: LazyLock<std::sync::Mutex<Option<sled::Db>>> =
33-
LazyLock::new(|| std::sync::Mutex::new(None));
34-
3532
pub(crate) fn josh_commit_signature<'a>() -> JoshResult<git2::Signature<'a>> {
3633
Ok(if let Ok(time) = std::env::var("JOSH_COMMIT_TIME") {
3734
git2::Signature::new(

0 commit comments

Comments
 (0)