summaryrefslogtreecommitdiff
path: root/upb/bytestream.c
diff options
context:
space:
mode:
Diffstat (limited to 'upb/bytestream.c')
-rw-r--r--upb/bytestream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/bytestream.c b/upb/bytestream.c
index 86095f9..41a84b0 100644
--- a/upb/bytestream.c
+++ b/upb/bytestream.c
@@ -63,7 +63,7 @@ static upb_stdio_buf *upb_stdio_findbuf(const upb_stdio *s, uint64_t ofs) {
}
static upb_stdio_buf *upb_stdio_rotatebufs(upb_stdio *s) {
- upb_stdio_buf *reuse[s->nbuf];
+ upb_stdio_buf **reuse = NULL; // XXX
uint32_t num_reused = 0, num_inuse = 0;
// Could sweep only a subset of bufs if this was a hotspot.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback