summaryrefslogtreecommitdiff
path: root/lib/audit_logging
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2018-06-25 14:52:19 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-06-26 03:27:20 +0200
commitdad73e0b681cef247c83be5e2d6165922b2fb545 (patch)
tree1f2c5100fba6925c86d1fb147bf0af329e18366c /lib/audit_logging
parent4f50848680605dfde8233f8b64a4fc1e79df6276 (diff)
downloadsamba-dad73e0b681cef247c83be5e2d6165922b2fb545.tar.gz
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>
Diffstat (limited to 'lib/audit_logging')
-rw-r--r--lib/audit_logging/audit_logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/audit_logging/audit_logging.c b/lib/audit_logging/audit_logging.c
index 3a27eb6105f..dda350cd144 100644
--- a/lib/audit_logging/audit_logging.c
+++ b/lib/audit_logging/audit_logging.c
@@ -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;