mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
core: remove unused variable
This commit is contained in:
@@ -44,7 +44,7 @@ void
|
||||
daemonize ()
|
||||
{
|
||||
pid_t pid;
|
||||
int fd, i, new_fd;
|
||||
int fd, i;
|
||||
|
||||
printf (_("Running WeeChat in background..."));
|
||||
printf (" ");
|
||||
@@ -77,9 +77,8 @@ daemonize ()
|
||||
close (i);
|
||||
}
|
||||
fd = open ("/dev/null", O_RDWR);
|
||||
new_fd = dup (fd);
|
||||
new_fd = dup (fd);
|
||||
(void) new_fd;
|
||||
(void) dup (fd);
|
||||
(void) dup (fd);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user