changeset 14:a51dfcb0faeb default tip

forgot to remove bestPatPath variable that's not used anymore
author Atarwn Gard <a@qwa.su>
date Mon, 23 Mar 2026 13:48:32 +0500
parents 9460f83a5664
children
files icf/icf.go
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/icf/icf.go	Mon Mar 23 13:45:50 2026 +0500
+++ b/icf/icf.go	Mon Mar 23 13:48:32 2026 +0500
@@ -190,7 +190,7 @@
 
 	// subPath is the filesystem path relative to rootDir.
 	// rem is the unmatched suffix after the path pattern
-	_, bestPatPath, bestHasPath := strings.Cut(best.block.ID, "/")
+	_, _, bestHasPath := strings.Cut(best.block.ID, "/")
 	subPath := best.rem
 	if bestHasPath && subPath == "" {
 		base := path.Base(inPath)