Quiet a few Solaris Studio compiler warnings.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#define CALLBACK_CFUNC(func_name) APPROVAL_SYMBOL_NAME(_python_plugin_approval_ ## func_name)
|
||||
|
||||
extern struct approval_plugin APPROVAL_SYMBOL_NAME(python_approval);
|
||||
static struct ApprovalPluginContext PLUGIN_CTX = { {}, &APPROVAL_SYMBOL_NAME(python_approval) };
|
||||
static struct ApprovalPluginContext PLUGIN_CTX = { { NULL }, &APPROVAL_SYMBOL_NAME(python_approval) };
|
||||
|
||||
|
||||
int
|
||||
|
@@ -8,7 +8,7 @@
|
||||
#define CALLBACK_CFUNC(func_name) AUDIT_SYMBOL_NAME(_python_plugin_audit_ ## func_name)
|
||||
|
||||
extern struct audit_plugin AUDIT_SYMBOL_NAME(python_audit);
|
||||
static struct AuditPluginContext PLUGIN_CTX = { {}, &AUDIT_SYMBOL_NAME(python_audit) };
|
||||
static struct AuditPluginContext PLUGIN_CTX = { { NULL }, &AUDIT_SYMBOL_NAME(python_audit) };
|
||||
|
||||
|
||||
static int
|
||||
|
@@ -8,7 +8,7 @@
|
||||
#define CALLBACK_CFUNC(func_name) IO_SYMBOL_NAME(_python_plugin_io_ ## func_name)
|
||||
|
||||
extern struct io_plugin IO_SYMBOL_NAME(python_io);
|
||||
static struct IOPluginContext PLUGIN_CTX = { {}, &IO_SYMBOL_NAME(python_io) };
|
||||
static struct IOPluginContext PLUGIN_CTX = { { NULL }, &IO_SYMBOL_NAME(python_io) };
|
||||
|
||||
int
|
||||
CALLBACK_CFUNC(open)(
|
||||
|
Reference in New Issue
Block a user