Procházet zdrojové kódy

remove spurious repeated semicolon in fmemopen

Rich Felker před 4 roky
rodič
revize
2acf3bce01
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
 	}