summaryrefslogtreecommitdiffhomepage
path: root/pkg/refs/refs_state_autogen.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-08-12 08:44:47 +0000
committergVisor bot <gvisor-bot@google.com>2021-08-12 08:44:47 +0000
commit5bd8f886db24151734e03497661e5521d1dfcc48 (patch)
treedb4948a593ba768c6b14796aa715ffd84473d0a2 /pkg/refs/refs_state_autogen.go
parent7e3845c246594cf53f846a6b3adf0b601368dd52 (diff)
parent3416a3db77bf80cc1100b7d206fe0b68d424d7c9 (diff)
Merge release-20210726.0-57-g3416a3db7 (automated)
Diffstat (limited to 'pkg/refs/refs_state_autogen.go')
-rw-r--r--pkg/refs/refs_state_autogen.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/refs/refs_state_autogen.go b/pkg/refs/refs_state_autogen.go
index 53d22d315..86a102119 100644
--- a/pkg/refs/refs_state_autogen.go
+++ b/pkg/refs/refs_state_autogen.go
@@ -22,7 +22,8 @@ func (w *WeakRef) beforeSave() {}
// +checklocksignore
func (w *WeakRef) StateSave(stateSinkObject state.Sink) {
w.beforeSave()
- var objValue savedReference = w.saveObj()
+ var objValue savedReference
+ objValue = w.saveObj()
stateSinkObject.SaveValue(0, objValue)
stateSinkObject.Save(1, &w.user)
}