diff options
| author | Peter Eisentraut | 2014-02-05 01:04:35 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2014-02-05 01:08:39 +0000 |
| commit | 4e182361804f8688cef953c998e24134e606aea4 (patch) | |
| tree | 670c364972d1872b0c94b0711016086f300dd467 /src/pl | |
| parent | 00d4f2af8bd6a1b9db2f676cc76b64d98ace99fb (diff) | |
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.
Diffstat (limited to 'src/pl')
| -rw-r--r-- | src/pl/plperl/plperl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/plperl/plperl.c b/src/pl/plperl/plperl.c index a81c18513e5..d9aa5efa324 100644 --- a/src/pl/plperl/plperl.c +++ b/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; /* |
