2011-02-28 Michael Snyder <msnyder@vmware.com>

* opencl-lang.c (evaluate_subexp_opencl): Discard unused value.
This commit is contained in:
Michael Snyder 2011-02-28 22:49:57 +00:00
parent 91e8df85d8
commit 5b92b49f16
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2011-02-28 Michael Snyder <msnyder@vmware.com>
* opencl-lang.c (evaluate_subexp_opencl): Discard unused value.
* p-valprint.c (pascal_val_print): Discard unused value.
* utils.c (nquery): Call va_end before return;

View file

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