Make nstr_exec_val() return its first argument

This commit is contained in:
Markus Armbruster 2008-03-04 08:03:01 +01:00
parent 0bcb047806
commit 93a5779e66
3 changed files with 4 additions and 4 deletions

View file

@ -53,7 +53,7 @@
* WANT. VAL must be coercible. That's the case if a previous
* nstr_coerce_val(VAL, WANT, STR) succeeded.
*/
void
struct valstr *
nstr_exec_val(struct valstr *val, natid cnum, void *ptr, nsc_type want)
{
char *memb_ptr;
@ -158,6 +158,7 @@ nstr_exec_val(struct valstr *val, natid cnum, void *ptr, nsc_type want)
}
val->val_type = valtype;
return val;
}
/*