提交 564b9235 编写于 作者: P Peter Eisentraut 提交者: Daniel Gustafsson

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.
上级 9def9a34
......@@ -1651,7 +1651,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;
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册