aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2023-04-24 09:35:45 +0100
committerSimon Tatham <anakin@pobox.com>2023-04-24 10:04:20 +0100
commit2b6d34adbd03a6110d4c2a0a0959eb6e30d3936d (patch)
tree0259ffe6e8e6cb86dda6ce2c42817ea9e7954d0a
parent8c968483f8df7c30f78ff3998a397697a1699615 (diff)
downloadpuzzles-2b6d34adbd03a6110d4c2a0a0959eb6e30d3936d.zip
puzzles-2b6d34adbd03a6110d4c2a0a0959eb6e30d3936d.tar.gz
puzzles-2b6d34adbd03a6110d4c2a0a0959eb6e30d3936d.tar.bz2
puzzles-2b6d34adbd03a6110d4c2a0a0959eb6e30d3936d.tar.xz
emcc.c: remove savefile_read_ctx.
It wasn't ever used! Looks as if I pasted it in here from one of the other implementations, before realising that wasn't how I was going to read save files at all.
-rw-r--r--emcc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/emcc.c b/emcc.c
index 14e4c06..5338dd4 100644
--- a/emcc.c
+++ b/emcc.c
@@ -899,11 +899,6 @@ void free_save_file(char *buffer)
sfree(buffer);
}
-struct savefile_read_ctx {
- const char *buffer;
- int len_remaining;
-};
-
static bool savefile_read(void *vctx, void *buf, int len)
{
return js_savefile_read(buf, len);