This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]