mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
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:
parent
00d4f2af8b
commit
4e18236180
@ -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;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user