Branch: Tag:

2013-09-12

2013-09-12 09:47:15 by Arne Goedeke <el@laramies.com>

initialize pike_frame->num_args even in special cases

2143:       if(of && of->locals) {    /* f->num_args can be too large, so this is necessary for some -  * reason. I don't know why. /mast */ +  * reason. I don't know why. /mast +  * +  * possibly because f->num_args was uninitialized for c_initializers +  * /arne +  * */ +     numargs = DO_NOT_WARN((INT32)MINIMUM(f->num_args,of->locals - f->locals));    }