This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] opencl-lang.c/evaluate_subexp_opencl: discard unused value
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 28 Feb 2011 14:51:02 -0800
- Subject: [commit] opencl-lang.c/evaluate_subexp_opencl: discard unused value
Checked in.
2011-02-28 Michael Snyder <msnyder@vmware.com>
* opencl-lang.c (evaluate_subexp_opencl): Discard unused value.
Index: opencl-lang.c
===================================================================
RCS file: /cvs/src/src/gdb/opencl-lang.c,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 opencl-lang.c
--- opencl-lang.c 28 Feb 2011 18:40:31 -0000 1.9
+++ opencl-lang.c 28 Feb 2011 22:48:19 -0000
@@ -776,7 +776,7 @@ evaluate_subexp_opencl (struct type *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);