aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTommi Rantala <tt.rantala@gmail.com>2012-08-11 15:58:44 +0300
committerTommi Rantala <tt.rantala@gmail.com>2012-08-21 22:33:56 +0300
commit5fedf3407c7c161d12ba4f600cbce12fef780ad7 (patch)
tree59b65978bdac5ac541494e38926455d757f6b77a /tests
parent5b55e556ca00ee02083b340d29346b9d55105233 (diff)
downloadlibunwind-5fedf3407c7c161d12ba4f600cbce12fef780ad7.tar.gz
Avoid -Wunused-value warning in tests/Gtest-exc.c
Gtest-exc.c: In function 'a': Gtest-exc.c:100:15: warning: value computed is not used [-Wunused-value]
Diffstat (limited to 'tests')
-rw-r--r--tests/Gtest-exc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Gtest-exc.c b/tests/Gtest-exc.c
index 44b837d1..1170bdd0 100644
--- a/tests/Gtest-exc.c
+++ b/tests/Gtest-exc.c
@@ -97,7 +97,7 @@ a (int n)
n, &stack, (unsigned long) get_bsp ());
if (n > 0)
- a (n - 1) + 1;
+ a (n - 1);
else
b (16);