summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-02-20 22:56:53 -0500
committerRich Felker <dalias@aerifal.cx>2013-02-20 22:56:53 -0500
commit3b00675bf51aef47705d8845de24dec8c6063078 (patch)
tree077140f9905c22fe9f93ecd428ec6c56dda7c82b
parent2cc63358cdb0309ca996ffe56ccf402c2f2f16d5 (diff)
downloadmusl-3b00675bf51aef47705d8845de24dec8c6063078.tar.gz
remove leftover unused variable in mktemp after refactoring
-rw-r--r--src/temp/mktemp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/temp/mktemp.c b/src/temp/mktemp.c
index ed2c103e..de0f3709 100644
--- a/src/temp/mktemp.c
+++ b/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;