projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cc6335
)
remove leftover unused variable in mktemp after refactoring
author
Rich Felker
<dalias@aerifal.cx>
Thu, 21 Feb 2013 03:56:53 +0000
(22:56 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 21 Feb 2013 03:56:53 +0000
(22:56 -0500)
src/temp/mktemp.c
patch
|
blob
|
history
diff --git
a/src/temp/mktemp.c
b/src/temp/mktemp.c
index ed2c103e776ea4fa84edc3f198b33aec30bfbc4e..de0f370947bbc666dfd177ca1355f28efc78f195 100644
(file)
--- 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;