Skip to content

Commit

Permalink
Add missing newline consistency across error handling blocks
Browse files Browse the repository at this point in the history
Ensure consistent formatting by adding missing newlines before `return` statements in error handling blocks. This improves code readability and maintains uniformity throughout the module.
  • Loading branch information
ar45 committed Jan 14, 2025
1 parent 165055d commit 7a19882
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mod/databases/mod_pgsql/mod_pgsql.c
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ switch_status_t pgsql_handle_exec_detailed(const char *file, const char *func, i

error:
pgsql_handle_set_error_if_not_set(handle, err);

return SWITCH_STATUS_FALSE;
}

Expand Down Expand Up @@ -658,6 +659,7 @@ switch_status_t database_handle_exec_string(switch_database_interface_handle_t *

pgsql_free_result(&result);
pgsql_handle_set_error_if_not_set(handle, err);

return SWITCH_STATUS_FALSE;
}

Expand Down Expand Up @@ -1066,6 +1068,7 @@ switch_status_t pgsql_handle_callback_exec_detailed(const char *file, const char
error:

pgsql_handle_set_error_if_not_set(handle, err);

return SWITCH_STATUS_FALSE;
}

Expand Down

0 comments on commit 7a19882

Please sign in to comment.