remove unused variable parameters from functions

This commit is contained in:
Marco Vito Moscaritolo
2024-11-16 11:48:53 +11:00
committed by Mike Farah
parent 3ce266bfa0
commit f168172bf4
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ type assignPreferences struct {
}
func assignUpdateFunc(prefs assignPreferences) crossFunctionCalculation {
return func(d *dataTreeNavigator, context Context, lhs *CandidateNode, rhs *CandidateNode) (*CandidateNode, error) {
return func(_ *dataTreeNavigator, _ Context, lhs *CandidateNode, rhs *CandidateNode) (*CandidateNode, error) {
if !prefs.OnlyWriteNull || lhs.Tag == "!!null" {
lhs.UpdateFrom(rhs, prefs)
}