PL/Perl: Fix compiler warning

The code was assigning a (Datum) 0 to a void pointer.  That creates a
warning from clang 3.4.  It was probably a thinko to begin with.
This commit is contained in:
Peter Eisentraut 2014-02-04 20:04:35 -05:00
parent 00d4f2af8b
commit 4e18236180

View File

@ -1786,7 +1786,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;
/*