File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,6 @@ int main( int argc, char** argv )
209209 return 1 ;
210210 }
211211
212- auto s = new SrtSource;
213212 unique_ptr<Source> src;
214213 unique_ptr<Target> tar;
215214
@@ -222,6 +221,7 @@ int main( int argc, char** argv )
222221 Verb () << " SRT -> " << outspec;
223222 tar = Target::Create (outspec);
224223
224+ auto s = new SrtSource;
225225 s->Acquire (conngrp);
226226 src.reset (s);
227227 }
Original file line number Diff line number Diff line change @@ -1059,8 +1059,8 @@ void SrtCommon::OpenGroupClient()
10591059 if (!extras.empty ())
10601060 {
10611061 Verb () << " ?" << extras[0 ] << VerbNoEOL;
1062- for (size_t i = 1 ; i < extras.size (); ++i )
1063- Verb () << " &" << extras[i ] << VerbNoEOL;
1062+ for (size_t ii = 1 ; ii < extras.size (); ++ii )
1063+ Verb () << " &" << extras[ii ] << VerbNoEOL;
10641064 }
10651065
10661066 Verb ();
@@ -1194,11 +1194,11 @@ void SrtCommon::OpenGroupClient()
11941194 NULL , NULL ) != -1 )
11951195 {
11961196 Verb () << " [C]" << VerbNoEOL;
1197- for (int i = 0 ; i < len1; ++i )
1198- Verb () << " " << ready_conn[i ] << VerbNoEOL;
1197+ for (int ii = 0 ; ii < len1; ++ii )
1198+ Verb () << " " << ready_conn[ii ] << VerbNoEOL;
11991199 Verb () << " [E]" << VerbNoEOL;
1200- for (int i = 0 ; i < len2; ++i )
1201- Verb () << " " << ready_err[i ] << VerbNoEOL;
1200+ for (int ii = 0 ; ii < len2; ++ii )
1201+ Verb () << " " << ready_err[ii ] << VerbNoEOL;
12021202
12031203 Verb () << " " ;
12041204
You can’t perform that action at this time.
0 commit comments