remove leftover unused variable in mktemp after refactoring

This commit is contained in:
Rich Felker 2013-02-20 22:56:53 -05:00
parent 2cc63358cd
commit 3b00675bf5
1 changed files with 0 additions and 1 deletions

View File

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