remove spurious repeated semicolon in fmemopen
authorRich Felker <dalias@aerifal.cx>
Fri, 17 Apr 2020 20:11:43 +0000 (16:11 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 17 Apr 2020 20:11:43 +0000 (16:11 -0400)
src/stdio/fmemopen.c

index 5afd85cf7a6e8068153b44ad4f187c0ebf48fd62..343e3e3fe2f8805aeeab4f09d370635f10970c57 100644 (file)
@@ -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);
        }