memset will zero out everything.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23986 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -42,8 +42,6 @@ krb5_get_init_creds_opt_init(krb5_get_init_creds_opt *opt)
|
|||||||
__attribute__((deprecated))
|
__attribute__((deprecated))
|
||||||
{
|
{
|
||||||
memset (opt, 0, sizeof(*opt));
|
memset (opt, 0, sizeof(*opt));
|
||||||
opt->flags = 0;
|
|
||||||
opt->opt_private = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
krb5_error_code KRB5_LIB_FUNCTION
|
krb5_error_code KRB5_LIB_FUNCTION
|
||||||
|
Reference in New Issue
Block a user