Hello! In the function "int validate(struct compile_process* process)" the st...

Stephen Smith Answered 1 answer
Question by Stephen Smith 2 years ago

Question

Hello!
In the function "int validate(struct compile_process* process)"
the statement "res = validate_tree(process);" is present.
However, the function " validate_tree" has no parameters.
Should I simply delete the parameter "process" in the call?

Regards,
Steve Smith

Answers

Answered by Daniel McCarthy

Instructor

Yep you noticed a minor mistake, you are free to remove the "process" from the function call
Thanks