diff options
author | foobar <sniper@php.net> | 2003-04-25 18:11:32 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-04-25 18:11:32 +0000 |
commit | f140ae993fef1d18933a6d312e65677a3409381d (patch) | |
tree | d0758bef46fa000a1d9f0e2bf01a0bf15ae1b3bc | |
parent | 0e5df53be53bd79849187d2b675311cc9854bb49 (diff) | |
download | php-git-f140ae993fef1d18933a6d312e65677a3409381d.tar.gz |
fix compiler warning (unused variable)
-rw-r--r-- | main/php_open_temporary_file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php_open_temporary_file.c b/main/php_open_temporary_file.c index 27277358b2..41f2560c14 100644 --- a/main/php_open_temporary_file.c +++ b/main/php_open_temporary_file.c @@ -105,11 +105,13 @@ static int php_do_open_temporary_file(const char *path, const char *pfx, char ** char *trailing_slash; char *opened_path; int fd = -1; +#ifndef HAVE_MKSTEMP int open_flags = O_CREAT | O_TRUNC | O_RDWR #ifdef PHP_WIN32 | _O_BINARY #endif ; +#endif #ifdef NETWARE char *file_path = NULL; #endif |