improved assert failure in test

This commit is contained in:
Jeff Hill
2003-01-07 21:01:53 +00:00
parent 63d1c92aa7
commit 1fb9f3ca31

View File

@@ -1733,9 +1733,7 @@ void arrayReadNotify ( struct event_handler_args args )
dbr_double_t *pRF = ( dbr_double_t * ) ( args.dbr );
int i;
for ( i = 0; i < args.count; i++ ) {
if ( pWF[i] != pRF[i] ) {
assert ( 0 );
}
assert ( pWF[i] == pRF[i] );
}
arrayReadNotifyComplete = 1;
}