Skip to content

Commit 2a451d5

Browse files
willwashburnclaude
andauthored
relayburn-sdk: drop reintroduced let _ block in parse_codex_buffer (#405)
* relayburn-sdk: drop reintroduced let _ block in parse_codex_buffer PR #371 dropped the two `let _ = (...)` warning-silencers at the tail of `parse_codex_buffer`, but #372 (JSONL streaming refactor) re-added the larger one when it restructured the loop. Audit re-confirms each `committed_*` mirror is read either by the emitted records or by the resume state, so the live values are dead at function exit and modern rustc does not flag them. Refs #346. * changelog: trim parse_codex_buffer entry to impact-first style Per project changelog guidelines and CodeRabbit feedback on #405. * changelog: drop noop dead-code removal entry --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 85caf27 commit 2a451d5

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

crates/relayburn-sdk/src/reader/codex.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,18 +1192,6 @@ fn parse_codex_buffer<R: BufRead>(
11921192
}
11931193
}
11941194

1195-
// Silence unused-mutable warnings for snapshot mirrors that are written
1196-
// but only read indirectly.
1197-
let _ = (
1198-
cumulative,
1199-
session_id,
1200-
session_cwd,
1201-
turn_contexts,
1202-
seen_session_meta_keys,
1203-
root_session_emitted,
1204-
last_completed_turn,
1205-
);
1206-
12071195
Ok(ParseCodexIncrementalResult {
12081196
turns,
12091197
content: content_out,

0 commit comments

Comments
 (0)