Eliminate all compiler warnings (79 Γזע 0)
- Remove unused mach vm_prot_t type and VM_PROT_* constants - Remove unused EmailChannel.smtp_config field - Remove unused AttributionEngine.campaigns field - Remove unused BehaviorSignature.confidence_threshold field - Prefix unused DetectionEngine._config with underscore - Prefix unused MitreAttackEngine._campaigns with underscore - Prefix unused NeuralMemoryAnalyzer._confidence_threshold with underscore All tests passing (24 total). Clean build with zero warnings.
This commit is contained in:
@@ -5,7 +5,7 @@ use std::collections::HashMap;
|
||||
#[derive(Debug)]
|
||||
pub struct NeuralMemoryAnalyzer {
|
||||
neural_networks: Vec<NeuralNetwork>,
|
||||
confidence_threshold: f32,
|
||||
_confidence_threshold: f32,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
@@ -136,7 +136,7 @@ impl NeuralMemoryAnalyzer {
|
||||
|
||||
Ok(NeuralMemoryAnalyzer {
|
||||
neural_networks,
|
||||
confidence_threshold: 0.8,
|
||||
_confidence_threshold: 0.8,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user