summaryrefslogtreecommitdiff
path: root/serialize.fmt
diff options
context:
space:
mode:
Diffstat (limited to 'serialize.fmt')
-rw-r--r--serialize.fmt8
1 files changed, 0 insertions, 8 deletions
diff --git a/serialize.fmt b/serialize.fmt
index d021217..90232c8 100644
--- a/serialize.fmt
+++ b/serialize.fmt
@@ -45,8 +45,6 @@ AOMsg writeAOMsg(w, x)
image/color.NRGBA w.Write([]byte{x.A, x.R, x.G, x.B})
map[uint16]*NodeMeta {
- w := zlib.NewWriter(w)
-
if x == nil {
write8(w, 0)
} else {
@@ -80,13 +78,9 @@ map[uint16]*NodeMeta {
chk(serialize(w, x[key]))
}
}
-
- chk(w.Close())
}
map[[3]int16]*NodeMeta {
- w := zlib.NewWriter(w)
-
if x == nil {
write8(w, 0)
} else {
@@ -120,8 +114,6 @@ map[[3]int16]*NodeMeta {
chk(serialize(w, x[key]))
}
}
-
- chk(w.Close())
}
PointedThing chk(writePointedThing(w, x))