aboutsummaryrefslogtreecommitdiff
path: root/gdb/opencl-lang.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-02-28 22:49:57 +0000
committerMichael Snyder <msnyder@vmware.com>2011-02-28 22:49:57 +0000
commit5b92b49f16b3b9cb925d4728e58067ada405737d (patch)
tree161c12c14cb6a22e8cdaa2177ec18287608d41ba /gdb/opencl-lang.c
parent91e8df85d85a3ca61fd42e158dc7f2b1c8ab841a (diff)
downloadfsf-binutils-gdb-5b92b49f16b3b9cb925d4728e58067ada405737d.zip
fsf-binutils-gdb-5b92b49f16b3b9cb925d4728e58067ada405737d.tar.gz
fsf-binutils-gdb-5b92b49f16b3b9cb925d4728e58067ada405737d.tar.bz2
2011-02-28 Michael Snyder <msnyder@vmware.com>
* opencl-lang.c (evaluate_subexp_opencl): Discard unused value.
Diffstat (limited to 'gdb/opencl-lang.c')
-rw-r--r--gdb/opencl-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/opencl-lang.c b/gdb/opencl-lang.c
index bbd95f1..22d1611 100644
--- a/gdb/opencl-lang.c
+++ b/gdb/opencl-lang.c
@@ -776,7 +776,7 @@ evaluate_subexp_opencl (struct type *expect_type, struct expression *exp,
if (noside == EVAL_SKIP)
{
- arg2 = evaluate_subexp (NULL_TYPE, exp, pos, noside);
+ evaluate_subexp (NULL_TYPE, exp, pos, noside);
return value_from_longest (builtin_type (exp->gdbarch)->
builtin_int, 1);