summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-08-15 09:48:28 -0500
committerJoel Sherrill <joel@rtems.org>2018-08-15 09:48:28 -0500
commitda8b12bcb7c9e23dc3fdbae4ea8f9e4258a83a9b (patch)
tree0a86e95c5355c6623454d5de474934306d817f10
parentfsdosfssync01/init.c: Remove unused variable (diff)
downloadrtems-da8b12bcb7c9e23dc3fdbae4ea8f9e4258a83a9b.tar.bz2
dl06/dl06-o1.c: Remove set, not used warning
-rw-r--r--testsuites/libtests/dl06/dl06-o1.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuites/libtests/dl06/dl06-o1.c b/testsuites/libtests/dl06/dl06-o1.c
index d3c882ebfb..32e9a4acd9 100644
--- a/testsuites/libtests/dl06/dl06-o1.c
+++ b/testsuites/libtests/dl06/dl06-o1.c
@@ -34,7 +34,6 @@ int rtems_main (int argc, const char* argv[]);
int rtems_main (int argc, const char* argv[])
{
func1_t f1;
- int arg;
double d;
unsigned short s[7] = { 12, 34, 56, 78, 90, 13, 57 };
@@ -47,7 +46,11 @@ int rtems_main (int argc, const char* argv[])
f1 (s);
d = dl_o2_func2 (7.1, 33.0);
+ (void) d;
+
d = dl_o2_func3 (0.778899);
+ (void) d;
+
return argc;
}