1
0
Эх сурвалжийг харах

remove spurious repeated semicolon in fmemopen

Rich Felker 4 жил өмнө
parent
commit
2acf3bce01
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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);
 	}