Problem: Compiler warning for uninitialized variable. (John Marriott)
Solution: Initialize with NULL.
/*
* Functions that return the return type of a builtin function.
+ * Note that "argtypes" is NULL if "argcount" is zero.
*/
static type_T *
ret_void(int argcount UNUSED, type_T **argtypes UNUSED)
return OK;
}
+/*
+ * Call the "f_retfunc" function to obtain the return type of function "idx".
+ * "argtypes" is the list of argument types or NULL when there are no
+ * arguments.
+ */
type_T *
internal_func_ret_type(int idx, int argcount, type_T **argtypes)
{
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1884,
/**/
1883,
/**/
isn_T *isn;
garray_T *stack = &cctx->ctx_type_stack;
int argoff;
- type_T **argtypes;
+ type_T **argtypes = NULL;
RETURN_OK_IF_SKIP(cctx);
argoff = check_internal_func(func_idx, argcount);