Skip to content

Commit

Permalink
audit_logging: Initialise event_server
Browse files Browse the repository at this point in the history
It is better if this is a known zero value to start, even if we check the errors
correctly.

Signed-off-by: Andrew Bartlett <[email protected]>
Reviewed-by: Gary Lockyer <[email protected]>
  • Loading branch information
abartlet committed Jun 26, 2018
1 parent 4f50848 commit dad73e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/audit_logging/audit_logging.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dad73e0

Please sign in to comment.