1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

audit_logging: Initialise event_server

It is better if this is a known zero value to start, even if we check the errors
correctly.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
Andrew Bartlett 2018-06-25 14:52:19 +12:00
parent 4f50848680
commit dad73e0b68

View File

@ -230,7 +230,7 @@ void audit_message_send(
uint32_t message_type,
struct json_object *message)
{
struct server_id event_server;
struct server_id event_server = {};
NTSTATUS status;
const char *message_string = NULL;