@@ -258,8 +258,8 @@ impl PatternEngine {
258258 fn calculate_confidence ( & self , line : & str , content : & str , pattern : & CompiledPattern , file_meta : & super :: file_discovery:: FileMetadata ) -> f32 {
259259 let mut confidence: f32 = 0.6 ;
260260
261- let line_lower = line. to_lowercase ( ) ;
262- let content_lower = content. to_lowercase ( ) ;
261+ let _line_lower = line. to_lowercase ( ) ;
262+ let _content_lower = content. to_lowercase ( ) ;
263263
264264 // Enhanced false positive detection
265265 if self . is_obvious_false_positive ( line, content, file_meta) {
@@ -679,7 +679,7 @@ impl PatternEngine {
679679 /// Load default security patterns - focused on ACTUAL secrets, not references
680680 fn load_default_patterns (
681681 secret_patterns : & mut Vec < ( String , Arc < CompiledPattern > ) > ,
682- env_var_patterns : & mut Vec < ( String , Arc < CompiledPattern > ) > ,
682+ _env_var_patterns : & mut Vec < ( String , Arc < CompiledPattern > ) > ,
683683 api_key_patterns : & mut Vec < ( String , Arc < CompiledPattern > ) > ,
684684 complex_patterns : & mut Vec < ( Regex , Arc < CompiledPattern > ) > ,
685685 ) -> Result < ( ) , SecurityError > {
0 commit comments