kuser: Fix error produced by compiling with FORTIFY_SOURCE=2

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:
Joseph Sutton
2022-12-15 16:04:51 +13:00
committed by Jeffrey Altman
parent 744678eb03
commit db5c8711b4

View File

@@ -1744,7 +1744,7 @@ main(int argc, char **argv)
pk_anon_fast_armor = 0;
} else if (argc && argv[0][0] == '@' &&
(gss_preauth_mech || anonymous_flag)) {
const char *instance;
const char *instance = NULL;
if (gss_preauth_mech) {
instance = KRB5_FEDERATED_NAME;