Skip to content

Commit

Permalink
Remove compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
atgreen committed Jun 12, 2014
1 parent ad0d1d2 commit 1cee07b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/closures.c
Expand Up @@ -286,8 +286,11 @@ static int
open_temp_exec_file_dir (const char *dir)
{
static const char suffix[] = "/ffiXXXXXX";
int lendir, flags, fd;
int lendir, flags;
char *tempname;
#ifdef O_TMPFILE
int fd;
#endif

#ifdef O_CLOEXEC
flags = O_CLOEXEC;
Expand Down

0 comments on commit 1cee07b

Please sign in to comment.