aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-12-17 00:45:55 +0100
committerTeddy Wing2017-12-17 00:45:55 +0100
commitdee27d5ae7f3c56c3eff00c8b09a28b9e44516f9 (patch)
tree8dddaa77998f79ebe6ea1081c308267a379864c3
parent516f13a1da74f2480c1d42eb29700f83ff9a4603 (diff)
downloadirssi-vimput-dee27d5ae7f3c56c3eff00c8b09a28b9e44516f9.tar.bz2
Get rid of `$child` variable
We got rid of the code that used it in dd9e692fcedf220bca2b6981184c6ba2738cb6c3 but forgot to remove it in that commit.
-rw-r--r--vimput.pl2
1 files changed, 0 insertions, 2 deletions
diff --git a/vimput.pl b/vimput.pl
index a445c9d..c0614b2 100644
--- a/vimput.pl
+++ b/vimput.pl
@@ -20,7 +20,6 @@ use constant CTRL_X => 24;
use constant ERROR_PREFIX => 'ERROR: ';
use constant OK_PREFIX => 'OK: ';
-my $child;
my $forked = 0;
@@ -72,7 +71,6 @@ sub open_tmux_and_update_input_line_when_finished {
}
my $pid = fork();
- $child = $pid;
if (!defined $pid) {
Irssi::print("Failed to fork: $!", MSGLEVEL_CLIENTERROR);