From: Andreas Schneider Date: Mon, 14 Jan 2019 12:24:24 +0000 (+0100) Subject: lib:audit_logging: Use C99 initializer for server_id in audit_logging X-Git-Tag: tdb-1.4.1~290 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0b9281cd7310581e971ca4fb1dce4bea497b30e;p=thirdparty%2Fsamba.git lib:audit_logging: Use C99 initializer for server_id in audit_logging Signed-off-by: Andreas Schneider Reviewed-by: Ralph Boehme --- diff --git a/lib/audit_logging/audit_logging.c b/lib/audit_logging/audit_logging.c index 6944da7f872..7d9c3b838b5 100644 --- a/lib/audit_logging/audit_logging.c +++ b/lib/audit_logging/audit_logging.c @@ -229,7 +229,9 @@ void audit_message_send( uint32_t message_type, struct json_object *message) { - struct server_id event_server = {}; + struct server_id event_server = { + .pid = 0, + }; NTSTATUS status; const char *message_string = NULL;