Skip to content

Commit

Permalink
fix syntax reported by cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
okbob committed Oct 6, 2023
1 parent 2c34adf commit 7e1be5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pldbgapi2.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,8 @@ set_plpgsql_info(void)
static bool
pldbgapi2_needs_fmgr_hook(Oid fn_oid)
{
if (prev_needs_fmgr_hook && prev_needs_fmgr_hook(fn_oid))
if (prev_needs_fmgr_hook &&
(*prev_needs_fmgr_hook) (fn_oid))
return true;

/*
Expand Down

0 comments on commit 7e1be5f

Please sign in to comment.