1
0
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:
Sébastien Helleu
2018-05-19 08:13:12 +02:00
parent 26d972dd57
commit 25951cf56d
+3 -4
View File
@@ -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);
}
/*