]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
heimdal_build: Add C99 struct initializer in source4/heimdal_build/krb5-glue.c
authorStefan Metzmacher <metze@samba.org>
Fri, 22 Nov 2019 15:01:07 +0000 (16:01 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 15 Jun 2021 22:41:34 +0000 (22:41 +0000)
This avoids uninitiliased structure members in this dummy
structure we include to avoid including more of Heimdal.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/heimdal_build/krb5-glue.c

index 66320dce869ace196fe8a6d0aace04dc35b5ca6a..4653f637dd671d2962f592be1aae45a2284ccd2e 100644 (file)
 #include "heimdal/lib/krb5/krb5_locl.h"
 
 const krb5_cc_ops krb5_scc_ops = {
-    KRB5_CC_OPS_VERSION,
-    "_NOTSUPPORTED_SDB",
-    NULL, /* scc_retrieve */
-    NULL, /* scc_get_principal */
-    NULL, /* scc_get_first */
-    NULL, /* scc_get_next */
-    NULL, /* scc_end_get */
-    NULL, /* scc_remove_cred */
-    NULL, /* scc_set_flags */
-    NULL,
-    NULL, /* scc_get_cache_first */
-    NULL, /* scc_get_cache_next */
-    NULL, /* scc_end_cache_get */
-    NULL, /* scc_move */
-    NULL, /* scc_get_default_name */
-    NULL  /* scc_set_default */
+    .version = KRB5_CC_OPS_VERSION,
+    .prefix = "_NOTSUPPORTED_SDB",
 };