2003-06-13 Joel Sherrill <joel@OARcorp.com>

* src/threadloadenv.c: Removed warnings.
This commit is contained in:
Joel Sherrill
2003-06-13 13:25:25 +00:00
parent dfaddd2ac8
commit 10f72fd716
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2003-06-13 Joel Sherrill <joel@OARcorp.com>
* src/threadloadenv.c: Removed warnings.
2003-06-12 Joel Sherrill <joel@OARcorp.com> 2003-06-12 Joel Sherrill <joel@OARcorp.com>
* src/objectmp.c: Removed warnings. * src/objectmp.c: Removed warnings.

View File

@@ -43,15 +43,17 @@ void _Thread_Load_environment(
Thread_Control *the_thread Thread_Control *the_thread
) )
{ {
boolean is_fp = FALSE; boolean is_fp;
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
if ( the_thread->Start.fp_context ) { if ( the_thread->Start.fp_context ) {
the_thread->fp_context = the_thread->Start.fp_context; the_thread->fp_context = the_thread->Start.fp_context;
_Context_Initialize_fp( &the_thread->fp_context ); _Context_Initialize_fp( &the_thread->fp_context );
is_fp = TRUE; is_fp = TRUE;
} } else
#endif #endif
is_fp = FALSE;
the_thread->do_post_task_switch_extension = FALSE; the_thread->do_post_task_switch_extension = FALSE;
the_thread->is_preemptible = the_thread->Start.is_preemptible; the_thread->is_preemptible = the_thread->Start.is_preemptible;