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.
pull/6/head
Peter Eisentraut 12 years ago
parent 00d4f2af8b
commit 4e18236180
  1. 2
      src/pl/plperl/plperl.c

@ -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…
Cancel
Save