Remove compiler warning
This commit is contained in:
@@ -286,8 +286,11 @@ static int
|
|||||||
open_temp_exec_file_dir (const char *dir)
|
open_temp_exec_file_dir (const char *dir)
|
||||||
{
|
{
|
||||||
static const char suffix[] = "/ffiXXXXXX";
|
static const char suffix[] = "/ffiXXXXXX";
|
||||||
int lendir, flags, fd;
|
int lendir, flags;
|
||||||
char *tempname;
|
char *tempname;
|
||||||
|
#ifdef O_TMPFILE
|
||||||
|
int fd;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef O_CLOEXEC
|
#ifdef O_CLOEXEC
|
||||||
flags = O_CLOEXEC;
|
flags = O_CLOEXEC;
|
||||||
|
|||||||
Reference in New Issue
Block a user