walk function currently not used

This commit is contained in:
Paul van Brouwershaven
2022-06-30 18:06:36 +02:00
parent 4fe43c0794
commit cc0ae3e4dc

View File

@@ -399,12 +399,12 @@ func parseKeywords(value string) []string {
return []string{value} return []string{value}
} }
func walk(t pdf.Value, pad int) { // func walk(t pdf.Value, pad int) {
for _, k := range t.Keys() { // for _, k := range t.Keys() {
v := t.Key(k) // v := t.Key(k)
if v.Kind() == pdf.Array || v.Kind() == pdf.Dict { // if v.Kind() == pdf.Array || v.Kind() == pdf.Dict {
pad++ // pad++
walk(v, pad) // walk(v, pad)
} // }
} // }
} // }