Remove accidently committed planned crash code in src/zmc.cpp
This commit is contained in:
parent
0bb2ee7efc
commit
cd154e86f2
|
@ -203,12 +203,6 @@ int main( int argc, char *argv[] )
|
|||
sigaddset( &block_set, SIGUSR1 );
|
||||
sigaddset( &block_set, SIGUSR2 );
|
||||
|
||||
char* ptr = 0;
|
||||
while(1) {
|
||||
*ptr = *ptr;
|
||||
ptr++;
|
||||
}
|
||||
|
||||
if ( monitors[0]->PrimeCapture() < 0 )
|
||||
{
|
||||
Error( "Failed to prime capture of initial monitor" );
|
||||
|
@ -219,7 +213,7 @@ int main( int argc, char *argv[] )
|
|||
long *alarm_capture_delays = new long[n_monitors];
|
||||
long *next_delays = new long[n_monitors];
|
||||
struct timeval * last_capture_times = new struct timeval[n_monitors];
|
||||
for ( int i = 0; i < 900000; i++ )
|
||||
for ( int i = 0; i < n_monitors; i++ )
|
||||
{
|
||||
last_capture_times[i].tv_sec = last_capture_times[i].tv_usec = 0;
|
||||
capture_delays[i] = monitors[i]->GetCaptureDelay();
|
||||
|
|
Loading…
Reference in New Issue