Commit 17bd832f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1c21d16e
......@@ -127,9 +127,9 @@ func (S PPTreeSubSet) AddNodePath(path []Node) { // XXX Tree|Bucket; path[0] = r
// XXX assert Tree Tree ... Tree Bucket
// root := path[0].(*Tree).POid()
oidv := []zodb.Oid{}
for _, node := range path {
oidv = append(oidv, node.POid())
oidv := make([]zodb.Oid, len(path))
for i, node := range path {
oidv[i] = node.POid()
}
S.AddPath(oidv)
}
......@@ -296,7 +296,7 @@ func (S PPTreeSubSet) gc1(oid zodb.Oid) {
// verify checks internal consistency of S.
func (S PPTreeSubSet) verify() {
// XXX !debug -> return
// XXX !debug -> return ?
var badv []string
badf := func(format string, argv ...interface{}) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment