Tcl_ResetResult

void Tcl_ResetResult(Tcl_Interp *interp);

The Tcl library public C function that sets the result in the interpreter to the empty string (which will be a new Tcl_Obj) and clears out any trace of errors.