Skip to content

Commit

Permalink
try to fix compile warning v2
Browse files Browse the repository at this point in the history
  • Loading branch information
adunstan committed Aug 16, 2023
1 parent fb8ccc8 commit d02a940
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions file_textarray_fdw.c
Expand Up @@ -1109,9 +1109,7 @@ makeTextArray(FileFdwExecutionState *fdw_private, TupleTableSlot *slot, char **r
else
{
nulls[fld] = false;
values[fld] = PointerGetDatum(
DirectFunctionCall1(textin,
CStringGetDatum(string)));
values[fld] = DirectFunctionCall1(textin, CStringGetDatum(string));
}
}

Expand Down

0 comments on commit d02a940

Please sign in to comment.