2011-02-28 Michael Snyder <msnyder@vmware.com>
* opencl-lang.c (evaluate_subexp_opencl): Discard unused value.
This commit is contained in:
parent
91e8df85d8
commit
5b92b49f16
2 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue