Source-Changes-HG archive

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

[src/trunk]: src/dist/openpam/lib appease gcc -Wuninitialized



details:   https://anonhg.NetBSD.org/src/rev/9ba0ffc0f7e0
branches:  trunk
changeset: 581398:9ba0ffc0f7e0
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Jun 01 12:14:53 2005 +0000

description:
appease gcc -Wuninitialized

diffstat:

 dist/openpam/lib/openpam_ttyconv.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 788cfa6a45e4 -r 9ba0ffc0f7e0 dist/openpam/lib/openpam_ttyconv.c
--- a/dist/openpam/lib/openpam_ttyconv.c        Wed Jun 01 12:10:14 2005 +0000
+++ b/dist/openpam/lib/openpam_ttyconv.c        Wed Jun 01 12:14:53 2005 +0000
@@ -71,6 +71,7 @@
        char *retval;
        char ch;
 
+       saved_alarm = 0;
        sigemptyset(&sigs);
        sigaddset(&sigs, SIGINT);
        sigaddset(&sigs, SIGTSTP);



Home | Main Index | Thread Index | Old Index