musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdio/fmemopen.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020年04月17日 16:11:43 -0400
committerRich Felker <dalias@aerifal.cx>2020年04月17日 16:11:43 -0400
commit2acf3bce0130fc58f79110f600825e268ca5a608 (patch)
treef0a358d1d7c561ad07d85eec39f7b9bf33651759 /src/stdio/fmemopen.c
parent74fa4aac12d0d5a04ed411f2b3240f235a4475a1 (diff)
downloadmusl-2acf3bce0130fc58f79110f600825e268ca5a608.tar.gz
remove spurious repeated semicolon in fmemopen
Diffstat (limited to 'src/stdio/fmemopen.c')
-rw-r--r--src/stdio/fmemopen.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/fmemopen.c b/src/stdio/fmemopen.c
index 5afd85cf..343e3e3f 100644
--- a/src/stdio/fmemopen.c
+++ b/src/stdio/fmemopen.c
@@ -103,7 +103,7 @@ FILE *fmemopen(void *restrict buf, size_t size, const char *restrict mode)
f->f.buf = f->buf + UNGET;
f->f.buf_size = sizeof f->buf - UNGET;
if (!buf) {
- buf = f->buf2;;
+ buf = f->buf2;
memset(buf, 0, size);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月07日 10:32:48 +0000

AltStyle によって変換されたページ (->オリジナル) /