mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
need to declare $xwindow even if not using it
Ignore-this: 7770b65e421e705e4661a29d04eaeee9 darcs-hash:20090908183559-0cb85-f5bd8c607bbb61977d06ab6530c2ef8cf07c2593.gz
This commit is contained in:
parent
95a9a1db91
commit
278f0d8fd5
@ -58,6 +58,7 @@ if( defined $options{"help"} )
|
||||
|
||||
# now start the data acquisition and plotting threads
|
||||
my $dataQueue = Thread::Queue->new();
|
||||
my $xwindow;
|
||||
|
||||
if($options{"stream"})
|
||||
{
|
||||
@ -70,7 +71,7 @@ if($options{"stream"})
|
||||
usage();
|
||||
die("Must specify the size of the moving x-window. Doing nothing\n");
|
||||
}
|
||||
my $xwindow = $options{"xlen"};
|
||||
$xwindow = $options{"xlen"};
|
||||
|
||||
my $addThr = threads->create(\&mainThread);
|
||||
my $plotThr = threads->create(\&plotThread);
|
||||
|
Loading…
Reference in New Issue
Block a user