Make nstr_exec_val() return its first argument
This commit is contained in:
parent
0bcb047806
commit
93a5779e66
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue