Explorar el Código

remove leftover unused variable in mktemp after refactoring

Rich Felker hace 12 años
padre
commit
3b00675bf5
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/temp/mktemp.c

+ 0 - 1
src/temp/mktemp.c

@@ -10,7 +10,6 @@ char *__mktemp(char *template)
 {
 	size_t l = strlen(template);
 	int retries = 10000;
-	unsigned long r;
 
 	if (l < 6 || strcmp(template+l-6, "XXXXXX")) {
 		errno = EINVAL;