Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/cron/dist Do not partially initialize a static ...



details:   https://anonhg.NetBSD.org/src/rev/3f41e978d477
branches:  trunk
changeset: 824621:3f41e978d477
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Jun 11 20:38:17 2017 +0000

description:
Do not partially initialize a static variable.

diffstat:

 external/bsd/cron/dist/pam_auth.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8b567d3d201b -r 3f41e978d477 external/bsd/cron/dist/pam_auth.c
--- a/external/bsd/cron/dist/pam_auth.c Sun Jun 11 20:25:07 2017 +0000
+++ b/external/bsd/cron/dist/pam_auth.c Sun Jun 11 20:38:17 2017 +0000
@@ -5,7 +5,7 @@
 #include <security/pam_appl.h>
 
 static pam_handle_t *pamh = NULL;
-static const struct pam_conv cron_conv = { 0 };
+static const struct pam_conv cron_conv;
 
 int
 cron_pam_start (const char *username)



Home | Main Index | Thread Index | Old Index