mirror of
https://github.com/postgres/postgres.git
synced 2025-07-24 14:22:24 +03: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:
@ -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;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user