Remove accidently committed planned crash code in src/zmc.cpp

This commit is contained in:
Kfir Itzhak 2013-10-07 02:44:56 +03:00
parent 0bb2ee7efc
commit cd154e86f2
1 changed files with 1 additions and 7 deletions

View File

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