Explorar o código

remove spurious repeated semicolon in fmemopen

Rich Felker %!s(int64=4) %!d(string=hai) anos
pai
achega
2acf3bce01
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/stdio/fmemopen.c

+ 1 - 1
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);
 	}