Add braces around an if block, for readability

Jan Urbański, reviewed by Peter Eisentraut, Álvaro Herrera, Tom Lane :-)
pull/1/head
Peter Eisentraut 15 years ago
parent 847e8c7783
commit fbed5d4830
  1. 3
      src/pl/plpython/plpython.c

@ -1007,12 +1007,13 @@ PLy_function_handler(FunctionCallInfo fcinfo, PLyProcedure *proc)
plargs = PLy_function_build_args(fcinfo, proc); plargs = PLy_function_build_args(fcinfo, proc);
plrv = PLy_procedure_call(proc, "args", plargs); plrv = PLy_procedure_call(proc, "args", plargs);
if (!proc->is_setof) if (!proc->is_setof)
{
/* /*
* SETOF function parameters will be deleted when last row is * SETOF function parameters will be deleted when last row is
* returned * returned
*/ */
PLy_function_delete_args(proc); PLy_function_delete_args(proc);
}
Assert(plrv != NULL); Assert(plrv != NULL);
Assert(!PLy_error_in_progress); Assert(!PLy_error_in_progress);
} }

Loading…
Cancel
Save