remove leftover unused variable in mktemp after refactoring
authorRich Felker <dalias@aerifal.cx>
Thu, 21 Feb 2013 03:56:53 +0000 (22:56 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 21 Feb 2013 03:56:53 +0000 (22:56 -0500)
src/temp/mktemp.c

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