need to declare $xwindow even if not using it

Ignore-this: 7770b65e421e705e4661a29d04eaeee9

darcs-hash:20090908183559-0cb85-f5bd8c607bbb61977d06ab6530c2ef8cf07c2593.gz
This commit is contained in:
Dima Kogan 2009-09-08 11:35:59 -07:00
parent 95a9a1db91
commit 278f0d8fd5

View File

@ -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);