Browse Source

remove spurious repeated semicolon in fmemopen

master
Rich Felker 6 years ago
parent
commit
2acf3bce01
  1. 2
      src/stdio/fmemopen.c

2
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);
}

Loading…
Cancel
Save