summaryrefslogtreecommitdiffstats
path: root/src/bfstd.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-08-08 15:11:45 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-08-08 15:11:45 -0400
commita63078374d83a00e8f2bafb9dbc27c3c3d362971 (patch)
treed4013578402083ea6800d82c63a7b961f4299175 /src/bfstd.c
parent3438244e02304700fa21f26798df363cfedfd78f (diff)
downloadbfs-a63078374d83a00e8f2bafb9dbc27c3c3d362971.tar.xz
bfstd: Don't label a declaration
Diffstat (limited to 'src/bfstd.c')
-rw-r--r--src/bfstd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bfstd.c b/src/bfstd.c
index a71e4b4..e546a47 100644
--- a/src/bfstd.c
+++ b/src/bfstd.c
@@ -666,8 +666,8 @@ static size_t printable_len(const char *str, size_t len, enum wesc_flags flags)
}
}
-multibyte:
mbstate_t mb;
+multibyte:
memset(&mb, 0, sizeof(mb));
while (i < len) {