[PATCH 3/7] sapi/src/testextension.c: Fix warnings
Joel Sherrill
joel.sherrill at oarcorp.com
Tue Nov 4 21:25:08 UTC 2014
---
cpukit/sapi/src/testextension.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cpukit/sapi/src/testextension.c b/cpukit/sapi/src/testextension.c
index e1a1985..f59ae0d 100644
--- a/cpukit/sapi/src/testextension.c
+++ b/cpukit/sapi/src/testextension.c
@@ -19,10 +19,12 @@
#include <rtems/test.h>
#include <rtems/profiling.h>
+#if defined(RTEMS_PROFILING)
static bool report_done;
static rtems_interrupt_lock report_lock =
RTEMS_INTERRUPT_LOCK_INITIALIZER( "test report" );
+#endif
void rtems_test_fatal_extension(
rtems_fatal_source source,
--
1.9.3
More information about the devel
mailing list