git/intake/main
issues/0024-fix-dead-code-and-staticcheck-findings.md
11 lines494 B last change raw · rendered · history
---
title: fix: dead code and staticcheck findings
status: closed
labels: []
created: 2026-09-14
closed:
---
Found by the audit of 2026-09-14 with staticcheck -checks=all.

Removed unused functions (sortedDirs, artistDirOfPlan, alArtistCredit, editorFixesAll, Plan.nameSession, a dead test helper), the ineffective assignment to the never-read Module.contentRows field, a duplicated condition in scan.collectAudio, and two loops staticcheck flagged in internal/audio. staticcheck is now clean.