Back-patch 9.4-era compiler warning fixes into older branches.

Back-patch commit 4e18236180
(another thing that longfin's version of clang doesn't like).
This commit is contained in:
Tom Lane 2017-02-17 17:12:14 -05:00
parent e9e2bde2d2
commit b5005ffa46

View File

@ -1787,7 +1787,7 @@ plperl_inline_handler(PG_FUNCTION_ARGS)
/* Set up a callback for error reporting */
pl_error_context.callback = plperl_inline_callback;
pl_error_context.previous = error_context_stack;
pl_error_context.arg = (Datum) 0;
pl_error_context.arg = NULL;
error_context_stack = &pl_error_context;
/*