chore: 清理大量未使用的变量、方法及结构体警告

This commit is contained in:
2026-05-13 13:54:20 +08:00
parent b1ad68c7b5
commit 679db5b1db
7 changed files with 1115 additions and 6 deletions

View File

@@ -159,7 +159,7 @@ impl ChangelogGenerator {
let mut output = format!("## [{}] - {}\n\n", version, date_str);
if self.group_by_type {
let grouped = self.group_commits(commits);
let _grouped = self.group_commits(commits);
// Standard categories
let categories = vec![
@@ -230,7 +230,7 @@ impl ChangelogGenerator {
fn generate_github_releases(
&self,
version: &str,
_version: &str,
_date: DateTime<Utc>,
commits: &[CommitInfo],
) -> Result<String> {

View File

@@ -8,8 +8,6 @@ pub mod changelog;
pub mod commit;
pub mod tag;
#[cfg(target_os = "windows")]
use std::os::windows::ffi::OsStringExt;
fn normalize_path_for_git2(path: &Path) -> PathBuf {
let mut normalized = path.to_path_buf();