diff options
Diffstat (limited to 'tvix/store/protos/castore.go')
-rw-r--r-- | tvix/store/protos/castore.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tvix/store/protos/castore.go b/tvix/store/protos/castore.go index 9969da78a7ca..634aa7924f64 100644 --- a/tvix/store/protos/castore.go +++ b/tvix/store/protos/castore.go @@ -62,9 +62,7 @@ func (d *Directory) Validate() error { // We also track the last seen name in each of the three lists, // to ensure nodes are sorted by their names. - lastDirectoryName := "" - lastFileName := "" - lastSymlinkName := "" + var lastDirectoryName, lastFileName, lastSymlinkName string // helper function to only insert in sorted order. // used with the three lists above. |