1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-03-15 18:29:16 +01:00

fix initialization of msg to not warn

apparently this is gcc bug 53119
This commit is contained in:
Klas Lindfors 2015-09-14 10:30:01 +02:00
parent ec84a78453
commit 344d1b4384

View File

@ -790,7 +790,7 @@ pam_sm_authenticate (pam_handle_t * pamh,
int valid_token = 0;
struct pam_conv *conv;
const struct pam_message *pmsg[1];
struct pam_message msg[1] = {0};
struct pam_message msg[1] = {{0}};
struct pam_response *resp = NULL;
int nargs = 1;
ykclient_t *ykc = NULL;