From 118935d2da0c770b37c769be19c0e4c7a0e850f0 Mon Sep 17 00:00:00 2001 From: "Dhanji R. Prasanna" Date: Tue, 13 Jan 2026 14:25:17 +0530 Subject: [PATCH] Remove unused variable total_lines in file_ops.rs --- crates/g3-core/src/tools/file_ops.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/g3-core/src/tools/file_ops.rs b/crates/g3-core/src/tools/file_ops.rs index 8661f50..f21ba22 100644 --- a/crates/g3-core/src/tools/file_ops.rs +++ b/crates/g3-core/src/tools/file_ops.rs @@ -154,7 +154,6 @@ pub async fn execute_read_file( let partial_content = &content[start_boundary..end_boundary]; let line_count = partial_content.lines().count(); - let total_lines = content.lines().count(); // Format output based on whether truncation occurred if was_truncated {