diff --git a/src/rxgen/rpc_parse.c b/src/rxgen/rpc_parse.c index 2a47facd33..ab26c954a4 100644 --- a/src/rxgen/rpc_parse.c +++ b/src/rxgen/rpc_parse.c @@ -858,8 +858,8 @@ analyze_ProcParams(definition * defp, token * tokp) Proc_listp = &Proc_list->next; decls = ALLOC(decl_list); memset(decls, 0, sizeof(decl_list)); - if (tokp->kind != TOK_RPAREN) - decls->decl = dec; + if (tokp->kind != TOK_RPAREN) + decls->decl = dec; *tailp = decls; tailp = &decls->next; } while (tokp->kind != TOK_RPAREN);