[rtems commit] sapi/src/testextension.c: Fix warnings
Joel Sherrill
joel at rtems.org
Tue Nov 4 21:51:39 UTC 2014
Module: rtems
Branch: master
Commit: 1a3c611c45748fcce0b0525c32c258897e924895
Changeset: http://git.rtems.org/rtems/commit/?id=1a3c611c45748fcce0b0525c32c258897e924895
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Tue Nov 4 14:55:43 2014 -0600
sapi/src/testextension.c: Fix warnings
---
cpukit/sapi/src/testextension.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
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,
More information about the vc
mailing list