diff options
| author | 2025-11-22 13:25:24 +0100 | |
|---|---|---|
| committer | 2025-11-22 13:25:24 +0100 | |
| commit | 10d44580bb444253f791e7f60530ae63f9db4778 (patch) | |
| tree | 1f31b8ea504ea2d83b91c7fcbc0eaf649cf19e5b /ir/dump.c | |
| parent | 6256bc1d0485a74e7d6728c95603a54a4149cb64 (diff) | |
ir/dump: initialize out buffer statically
Diffstat (limited to 'ir/dump.c')
| -rw-r--r-- | ir/dump.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -4,7 +4,7 @@ static int nextdat; -static struct wbuf *out; +static struct wbuf *out = &bstdout; static bool prilitdat(const struct irdat *dat, const char *prefix) @@ -267,8 +267,6 @@ irdump(struct function *fn) { struct block *blk; - out = &bstdout; - /* print datas that have never been printed before */ while (nextdat < dattab.n) pridat(&dattab.p[nextdat++]); |