Skip to content

Commit bd2e544

Browse files
committed
Fixing test warnings
1 parent 0b4d3de commit bd2e544

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

crates/cli/src/commands/compare.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ fn calculate_function_similarities(
545545
_target_symbols: &SymbolTable,
546546
_similarity_scorer: &SimilarityScorer,
547547
) -> Result<HashMap<String, f64>> {
548-
let similarities: HashMap<String, f64> = HashMap::new();
548+
let _similarities: HashMap<String, f64> = HashMap::new();
549549

550550
// Would need to iterate over functions from symbol table - simplified for now
551551
let similarities = HashMap::new();
@@ -580,7 +580,7 @@ fn calculate_function_similarities(
580580
async fn write_output(
581581
content: &str,
582582
output_path: &Option<PathBuf>,
583-
format: &OutputFormat,
583+
_format: &OutputFormat,
584584
) -> Result<()> {
585585
match output_path {
586586
Some(path) => {

crates/cli/src/commands/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ async fn set_configuration(
270270
async fn get_configuration(
271271
key: &str,
272272
term: &Term,
273-
no_color: bool,
273+
_no_color: bool,
274274
) -> Result<()> {
275275
let config = AppConfig::default();
276276

crates/cli/src/commands/doctor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ pub async fn run(cli: Cli) -> Result<()> {
8787
}
8888

8989
/// Check parser system functionality
90-
async fn check_parser_system(term: &Term, fix: bool, quiet: bool) -> Result<(usize, usize)> {
90+
async fn check_parser_system(term: &Term, _fix: bool, quiet: bool) -> Result<(usize, usize)> {
9191
if !quiet {
9292
term.write_line(&format!("{}", "Checking Parser System...".bold()))?;
9393
}
@@ -96,7 +96,7 @@ async fn check_parser_system(term: &Term, fix: bool, quiet: bool) -> Result<(usi
9696
let fixes = 0;
9797

9898
// Test language detector
99-
let language_detector = LanguageDetector;
99+
let _language_detector = LanguageDetector;
100100

101101
// Test basic language detection
102102
let test_cases = vec![

0 commit comments

Comments
 (0)