projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74fa4aa
)
remove spurious repeated semicolon in fmemopen
author
Rich Felker
<dalias@aerifal.cx>
Fri, 17 Apr 2020 20:11:43 +0000
(16:11 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 17 Apr 2020 20:11:43 +0000
(16:11 -0400)
src/stdio/fmemopen.c
patch
|
blob
|
history
diff --git
a/src/stdio/fmemopen.c
b/src/stdio/fmemopen.c
index 5afd85cf7a6e8068153b44ad4f187c0ebf48fd62..343e3e3fe2f8805aeeab4f09d370635f10970c57 100644
(file)
--- 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);
}