Skip to content

Commit 4e18236

Browse files
committed
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.
1 parent 00d4f2a commit 4e18236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pl/plperl/plperl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1786,7 +1786,7 @@ plperl_inline_handler(PG_FUNCTION_ARGS)
17861786
/* Set up a callback for error reporting */
17871787
pl_error_context.callback = plperl_inline_callback;
17881788
pl_error_context.previous = error_context_stack;
1789-
pl_error_context.arg = (Datum) 0;
1789+
pl_error_context.arg = NULL;
17901790
error_context_stack = &pl_error_context;
17911791

17921792
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy