Skip to content

Commit

Permalink
Remove unused command_file_fp
Browse files Browse the repository at this point in the history
  • Loading branch information
dougnazar committed Sep 17, 2024
1 parent cec5b4c commit d2ecd72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions base/commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
extern int sigrestart;

static int command_file_fd;
static FILE *command_file_fp;
static int command_file_created = FALSE;

/* The command file worker process */
Expand Down Expand Up @@ -117,7 +116,7 @@ int close_command_file(void)
command_file_created = FALSE;

/* close the command file */
fclose(command_file_fp);
close(command_file_fd);

/* unlink the pipe */
unlink(command_file);
Expand Down

0 comments on commit d2ecd72

Please sign in to comment.