mirror of git://git.musl-libc.org/musl
remove leftover unused variable in mktemp after refactoring
This commit is contained in:
parent
2cc63358cd
commit
3b00675bf5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue