changeset 2979:00ddfb443539

* tests/intr0.cxx (intr0_main): Fix a compiler warning by changing a CHECK() statement.
author sergeig
date Wed, 24 Nov 2010 18:40:20 +0000
parents f01575de4e32
children 8d5bed76c596
files packages/kernel/current/ChangeLog packages/kernel/current/tests/intr0.cxx
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/kernel/current/ChangeLog
+++ b/packages/kernel/current/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-22  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+	* tests/intr0.cxx (intr0_main): Fix a compiler warning by changing
+	a CHECK() statement.
+
 2010-03-29  Lars Povlsen  <lpovlsen@vitesse.com>
 
 	* src/common/thread.cxx: Add volatile to idle_thread_loops for use with
--- a/packages/kernel/current/tests/intr0.cxx
+++ b/packages/kernel/current/tests/intr0.cxx
@@ -197,8 +197,8 @@ void intr0_main( void )
     new_vsr = NULL;
     Cyg_Interrupt::get_vsr( v, &new_vsr );
     CHECK( old_vsr == new_vsr );
-        
-    CHECK( NULL != vsr0 );
+
+    CHECK( NULL != new_vsr);
 
     cyg_vector v1;
 #ifdef CYGPKG_HAL_MIPS_TX39