summaryrefslogtreecommitdiff
path: root/ci-ctl
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-10-29 15:43:03 -0700
committeriximeow <me@iximeow.net>2023-10-29 15:43:03 -0700
commitc0ed2168c6b39301511b84f52bd3f7b57a39024d (patch)
tree28ce2666e1d6ad052a31cbdb9a1c487f83a91e7a /ci-ctl
parent6f78ee3f15421b3450428e711659b28be0eccd7b (diff)
no more warnings :)runner-local-mode
Diffstat (limited to 'ci-ctl')
-rw-r--r--ci-ctl/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci-ctl/src/main.rs b/ci-ctl/src/main.rs
index bd2f733..4f09f27 100644
--- a/ci-ctl/src/main.rs
+++ b/ci-ctl/src/main.rs
@@ -80,7 +80,7 @@ fn main() {
match what {
JobAction::List => {
let db = DbCtx::new(&config_path, &db_path);
- let mut conn = db.conn.lock().unwrap();
+ let conn = db.conn.lock().unwrap();
let mut query = conn.prepare(ci_lib_core::sql::SELECT_ALL_RUNS_WITH_JOB_INFO).unwrap();
let mut jobs = query.query([]).unwrap();
while let Some(row) = jobs.next().unwrap() {
@@ -170,7 +170,7 @@ fn main() {
println!("[+] new repo created: '{}' id {}", &name, repo_id);
if let Some((remote, remote_kind, config_path)) = remote_config {
let full_config_file_path = format!("{}/{}", &db.config_path.display(), config_path);
- let config = match remote_kind.as_ref() {
+ let _config = match remote_kind.as_ref() {
"github" => {
assert!(NotifierConfig::github_from_file(&full_config_file_path).is_ok());
}