Commit f0beb3e3 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

duplicate use of same variable name resolved

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.
problem was detected by Matthias Heck


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 4669
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 21d85b54
......@@ -62,6 +62,7 @@
* - 14/02/2012 V1.18 provide gap summary
* - 14/02/2012 V1.19 provide gnuplot gap plot
* - 02/03/2012 V1.20 include auxid when distinguishing streams
* - 26/03/2012 V1.21 ilist -> iinlist (used the same name twice)
*
* TODO:
* * properly handle cases in which the output format can take only single
......@@ -74,7 +75,7 @@
*/
#define ANYEXTRACT_VERSION \
"ANYEXTRACT V1.20 extract data files, using index file"
"ANYEXTRACT V1.21 extract data files, using index file"
#define ANYEXTRACT_CVSID \
"$Id$"
......@@ -959,23 +960,23 @@ int main(int iargc, char* argv[])
cout << " channel: " << entry.wid2.channel;
cout << " instrument: " << entry.wid2.instype;
cout << " auxid: " << entry.wid2.auxid << endl;
Tintlist::const_iterator ilist=thelist.begin();
while( ilist!=thelist.end())
Tintlist::const_iterator iinlist=thelist.begin();
while( iinlist!=thelist.end())
{
cout << " " << collection[*ilist] << endl;
sff::WID2 thewid2=collection[*ilist].wid2;
cout << " " << collection[*iinlist] << endl;
sff::WID2 thewid2=collection[*iinlist].wid2;
if (opt.debug)
{
cout << "DEBUG: "
<< collection[*ilist].filename
<< " " << collection[*ilist].itrace
<< " " << collection[*ilist].dataformat << endl;
<< collection[*iinlist].filename
<< " " << collection[*iinlist].itrace
<< " " << collection[*iinlist].dataformat << endl;
cout << "DEBUG: " << thewid2.line();
}
cout << " " << thewid2.date.timestring()
<< " - " << sff::wid2lastsample(thewid2).timestring()
<< endl;
++ilist;
++iinlist;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment