From: Andreas Schneider Date: Wed, 12 Dec 2018 20:32:47 +0000 (+0100) Subject: s3:lib: Use C99 initializer for audit_category_tab X-Git-Tag: ldb-1.6.1~340 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58b4f48cfdc89de22206ac20e7e9e53121ddc171;p=thirdparty%2Fsamba.git s3:lib: Use C99 initializer for audit_category_tab Signed-off-by: Andreas Schneider Reviewed-by: Douglas Bagnall --- diff --git a/source3/lib/audit.c b/source3/lib/audit.c index e0c03f82e9d..f0dc5c2e8e6 100644 --- a/source3/lib/audit.c +++ b/source3/lib/audit.c @@ -53,7 +53,7 @@ static const struct audit_category_tab { { LSA_AUDIT_CATEGORY_ACCOUNT_LOGON, "LSA_AUDIT_CATEGORY_ACCOUNT_LOGON", "ACCOUNT", "Account logon events" }, - { 0, NULL, NULL } + { .category = 0 } }; const char *audit_category_str(uint32_t category)