libport: Don't clear the buffer on failure in mkstemps.

This commit is contained in:
Alexandre Julliard 2011-05-26 12:21:02 +02:00
parent 2f4f9ee1cb
commit 57765b8c30

View file

@ -133,7 +133,5 @@ mkstemps (
value += 7777;
}
/* We return the null string if we can't find a unique file name. */
template[0] = '\0';
return -1;
}